fix possible traceback when we get a signed presence
This commit is contained in:
parent
4a711a7542
commit
243ece28ba
|
@ -1853,7 +1853,7 @@ returns the session that we last sent a message to.'''
|
||||||
except:
|
except:
|
||||||
prio = 0
|
prio = 0
|
||||||
keyID = ''
|
keyID = ''
|
||||||
if sigTag and GnuPG.USE_GPG:
|
if sigTag and self.gpg:
|
||||||
# verify
|
# verify
|
||||||
sigmsg = sigTag.getData()
|
sigmsg = sigTag.getData()
|
||||||
keyID = self.gpg.verify(status, sigmsg)
|
keyID = self.gpg.verify(status, sigmsg)
|
||||||
|
|
Loading…
Reference in New Issue