handle caps only on the receiving account
This commit is contained in:
parent
d7f6b64abe
commit
610699f921
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue