Do not update metacontacts when nothing has changed. Fixes sending metacontact info to server when we expand a groupchat.

This commit is contained in:
Stephan Erb 2008-06-26 14:09:27 +00:00
parent a62328ecd3
commit 2cd24aa8ae
2 changed files with 3 additions and 3 deletions

View File

@ -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: