diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2008-12-06 14:05:26 +0300 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2008-12-06 14:05:26 +0300 |
commit | 0acaa647bd286380bfd1ec2929e9aef789887223 (patch) | |
tree | e8501b9e33465a65d57fb420f9148a35deced4f7 | |
parent | 6512fc0d864d39282aaa3c0c6c0c988de95ba825 (diff) |
fix caps stuff introduced in [10596]
-rw-r--r-- | src/common/caps.py | 4 |
1 files 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,16 +274,16 @@ 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) if computed_hash != contact.caps_hash: |