changeset a7aabf08ded7 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=a7aabf08ded7
description: handle caps only on the receiving account
diffstat:
src/common/protocol/caps.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r d030774e7d5c -r a7aabf08ded7 src/common/protocol/caps.py
--- a/src/common/protocol/caps.py Thu May 26 19:39:03 2011 +0200
+++ b/src/common/protocol/caps.py Fri May 27 00:14:21 2011 +0200
@@ -88,6 +88,8 @@
callback to update our caps cache with queried information after
we have retrieved an unknown caps hash and issued a disco
"""
+ if obj.conn.name != self._account:
+ return
contact = self._get_contact_or_gc_contact_for_jid(obj.fjid)
if not contact:
log.info('Received Disco from unknown contact %s' % obj.fjid)