From 3b46d08e5d856e902b0f6e0f98a20a76ea048a43 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 29 Mar 2006 20:04:48 +0000 Subject: [PATCH] prevent a useless stanza --- src/common/contacts.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/contacts.py b/src/common/contacts.py index 083f8b372..1f2ad1127 100644 --- a/src/common/contacts.py +++ b/src/common/contacts.py @@ -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: