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