prevent a useless stanza

This commit is contained in:
Yann Leboulanger 2006-03-29 20:04:48 +00:00
parent dfbb506f35
commit 3b46d08e5d
1 changed files with 3 additions and 2 deletions

View File

@ -239,6 +239,7 @@ 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}]
if brother_account != account:
common.gajim.connections[brother_account].store_metacontacts( common.gajim.connections[brother_account].store_metacontacts(
self._metacontacts_tags[brother_account]) self._metacontacts_tags[brother_account])
# be sure jid has no other tag # be sure jid has no other tag