Commit 610699f9 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

handle caps only on the receiving account

parent d7f6b64a
......@@ -88,6 +88,8 @@ def _nec_agent_info_received_caps(self, obj):
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment