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