From 636342bc30c7cc87c54acfbdc1e9265683e2ba81 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 6 Nov 2006 22:15:33 +0000 Subject: [PATCH] take into events from fill jid when deciding if we should remove it from roster. fixes #2646 --- src/roster_window.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/roster_window.py b/src/roster_window.py index 04c0c7e57..706753ee0 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1136,6 +1136,7 @@ class RosterWindow: contact.show = show contact.status = status if show in ('offline', 'error') and \ + len(gajim.events.get_events(account, contact.get_full_jid())) == 0 and \ len(gajim.events.get_events(account, contact.jid)) == 0: if len(contact_instances) > 1: # if multiple resources