From 81be580422f705ba24fe08d235ff64148a5a90e6 Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Wed, 19 Jul 2006 15:44:13 +0000 Subject: [PATCH] don't accept server resource as another resource of our contact --- src/gajim.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gajim.py b/src/gajim.py index 558b10a32..d9a752201 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -396,6 +396,8 @@ class Interface: contact1 = gajim.contacts.get_first_contact_from_jid(account, ji) if not contact1: # presence of another resource of out jid + if resource == gajim.connections[account].server_resource: + resource = gajim.config.get_per('accounts', account, 'resource') contact1 = gajim.contacts.create_contact(jid = ji, name = gajim.nicks[account], groups = [], show = array[1], status = status_message, sub = 'both',