Skip to content
Snippets Groups Projects
Commit 610699f9 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

handle caps only on the receiving account

parent d7f6b64a
No related branches found
No related tags found
No related merge requests found
...@@ -88,6 +88,8 @@ class ConnectionCaps(object): ...@@ -88,6 +88,8 @@ class ConnectionCaps(object):
callback to update our caps cache with queried information after callback to update our caps cache with queried information after
we have retrieved an unknown caps hash and issued a disco 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) contact = self._get_contact_or_gc_contact_for_jid(obj.fjid)
if not contact: if not contact:
log.info('Received Disco from unknown contact %s' % obj.fjid) log.info('Received Disco from unknown contact %s' % obj.fjid)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment