prevent a useless stanza
This commit is contained in:
parent
dfbb506f35
commit
3b46d08e5d
|
@ -239,8 +239,9 @@ class Contacts:
|
||||||
tag = self.get_new_metacontacts_tag(brother_jid)
|
tag = self.get_new_metacontacts_tag(brother_jid)
|
||||||
self._metacontacts_tags[brother_account][tag] = [{'jid': brother_jid,
|
self._metacontacts_tags[brother_account][tag] = [{'jid': brother_jid,
|
||||||
'tag': tag}]
|
'tag': tag}]
|
||||||
common.gajim.connections[brother_account].store_metacontacts(
|
if brother_account != account:
|
||||||
self._metacontacts_tags[brother_account])
|
common.gajim.connections[brother_account].store_metacontacts(
|
||||||
|
self._metacontacts_tags[brother_account])
|
||||||
# be sure jid has no other tag
|
# be sure jid has no other tag
|
||||||
old_tag = self.get_metacontacts_tag(account, jid)
|
old_tag = self.get_metacontacts_tag(account, jid)
|
||||||
while old_tag:
|
while old_tag:
|
||||||
|
|
Loading…
Reference in New Issue