Author: asterix Date: 2008-09-08 13:52:29 +0200 (Mon, 08 Sep 2008) New Revision: 10393
Modified: trunk/src/roster_window.py Log: don't delete pep when a second resource of our jid goes offline. Maybe addresses #4284?
Modified: trunk/src/roster_window.py =================================================================== --- trunk/src/roster_window.py 2008-09-08 11:27:37 UTC (rev 10392) +++ trunk/src/roster_window.py 2008-09-08 11:52:29 UTC (rev 10393) @@ -2033,7 +2033,8 @@ # Delete pep if needed keep_pep = any(c.show not in ('error', 'offline') for c in contact_instances) - if not keep_pep and not contact.is_groupchat(): + if not keep_pep and contact.jid != gajim.get_jid_from_account(account) \ + and not contact.is_groupchat(): pep.delete_pep(contact.jid, account)
# Redraw everything and select the sender