Commit 243ece28 authored by Yann Leboulanger's avatar Yann Leboulanger

fix possible traceback when we get a signed presence

parent 4a711a75
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment