Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2008-08-11 19:30:24 +0400
committerYann Leboulanger <asterix@lagaule.org>2008-08-11 19:30:24 +0400
commit7f908667a4edd45e35d9c131a79e8aa246445337 (patch)
tree5abaea55f5d7bc54cec2974dc03a62850fe25de9
parentd5fc1841a852906e7f04689f1588b39a26314abf (diff)
don't take into account keyid in error presence: it's our own signed message
-rw-r--r--src/common/connection_handlers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py
index ed91a57b7..7af206c05 100644
--- a/src/common/connection_handlers.py
+++ b/src/common/connection_handlers.py
@@ -1974,7 +1974,8 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
except:
prio = 0
keyID = ''
- if sigTag and self.USE_GPG:
+ if sigTag and self.USE_GPG and ptype != 'error':
+ # error presences contain our own signature
# verify
sigmsg = sigTag.getData()
keyID = self.gpg.verify(status, sigmsg)