Author: dkirov Date: 2006-07-19 17:44:13 +0200 (Wed, 19 Jul 2006) New Revision: 6584
Modified: trunk/src/gajim.py Log: don't accept server resource as another resource of our contact
Modified: trunk/src/gajim.py =================================================================== --- trunk/src/gajim.py 2006-07-19 15:06:08 UTC (rev 6583) +++ trunk/src/gajim.py 2006-07-19 15:44:13 UTC (rev 6584) @@ -396,6 +396,8 @@ 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',