From 243ece28baf760c89067996963472e91ca52778f Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 24 Nov 2007 20:08:24 +0000 Subject: [PATCH] fix possible traceback when we get a signed presence --- src/common/connection_handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 0c7942db0..92e6be95f 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -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)