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

prevent a useless stanza

parent dfbb506f
No related branches found
No related tags found
No related merge requests found
......@@ -239,8 +239,9 @@ class Contacts:
tag = self.get_new_metacontacts_tag(brother_jid)
self._metacontacts_tags[brother_account][tag] = [{'jid': brother_jid,
'tag': tag}]
common.gajim.connections[brother_account].store_metacontacts(
self._metacontacts_tags[brother_account])
if brother_account != account:
common.gajim.connections[brother_account].store_metacontacts(
self._metacontacts_tags[brother_account])
# be sure jid has no other tag
old_tag = self.get_metacontacts_tag(account, jid)
while old_tag:
......
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