Changeset 10393

Show
Ignore:
Timestamp:
09/08/08 13:52:29 (2 months ago)
Author:
asterix
Message:

don't delete pep when a second resource of our jid goes offline. Maybe addresses #4284?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/roster_window.py

    r10392 r10393  
    20342034                keep_pep = any(c.show not in ('error', 'offline') for c in 
    20352035                        contact_instances) 
    2036                 if not keep_pep and not contact.is_groupchat(): 
     2036                if not keep_pep and contact.jid != gajim.get_jid_from_account(account) \ 
     2037                and not contact.is_groupchat(): 
    20372038                        pep.delete_pep(contact.jid, account) 
    20382039