Do not update metacontacts when nothing has changed. Fixes sending metacontact info to server when we expand a groupchat.
This commit is contained in:
parent
a62328ecd3
commit
2cd24aa8ae
|
@ -393,9 +393,9 @@ class Contacts:
|
||||||
break
|
break
|
||||||
if found:
|
if found:
|
||||||
self._metacontacts_tags[account][tag].remove(found)
|
self._metacontacts_tags[account][tag].remove(found)
|
||||||
break
|
|
||||||
common.gajim.connections[account].store_metacontacts(
|
common.gajim.connections[account].store_metacontacts(
|
||||||
self._metacontacts_tags[account])
|
self._metacontacts_tags[account])
|
||||||
|
break
|
||||||
|
|
||||||
def has_brother(self, account, jid):
|
def has_brother(self, account, jid):
|
||||||
for account in self._metacontacts_tags:
|
for account in self._metacontacts_tags:
|
||||||
|
|
Loading…
Reference in New Issue