Author: asterix Date: 2006-07-19 17:06:08 +0200 (Wed, 19 Jul 2006) New Revision: 6583
Modified: trunk/src/roster_window.py Log: fix behaviour when we get a message from ourself
Modified: trunk/src/roster_window.py =================================================================== --- trunk/src/roster_window.py 2006-07-19 14:53:59 UTC (rev 6582) +++ trunk/src/roster_window.py 2006-07-19 15:06:08 UTC (rev 6583) @@ -2253,7 +2253,8 @@ if not ctrl: # if not, if message comes from highest prio, get control or open one # without resource - if highest_contact and contact.resource == highest_contact.resource: + if highest_contact and contact.resource == highest_contact.resource \ + and not jid == gajim.get_jid_from_account(account): ctrl = gajim.interface.msg_win_mgr.get_control(jid, account) fjid = jid resource_for_chat = None