From 0acaa647bd286380bfd1ec2929e9aef789887223 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 6 Dec 2008 11:05:26 +0000 Subject: [PATCH] fix caps stuff introduced in [10596] --- src/common/caps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/caps.py b/src/common/caps.py index 00c88b02d..5d9a40df9 100644 --- a/src/common/caps.py +++ b/src/common/caps.py @@ -274,15 +274,15 @@ class ConnectionCaps(object): def _capsDiscoCB(self, jid, node, identities, features, dataforms): contact = gajim.contacts.get_contact_from_full_jid(self.name, jid) + print contact if not contact: room_jid, nick = gajim.get_room_and_nick_from_fjid(jid) contact = gajim.contacts.get_gc_contact(self.name, room_jid, nick) if contact is None: return + print contact, contact.caps_node, contact.caps_hash_method if not contact.caps_node: return # we didn't asked for that? - if contact.caps_hash_method != 'old': - return if contact.caps_hash_method != 'old': computed_hash = helpers.compute_caps_hash(identities, features, dataforms=dataforms, hash_method=contact.caps_hash_method)