diff --git a/src/roster_window.py b/src/roster_window.py index 578a530f2..1d44460a5 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1172,8 +1172,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: + len(gajim.events.get_events(account, contact.get_full_jid())) == 0: if len(contact_instances) > 1: # if multiple resources gajim.contacts.remove_contact(account, contact)