take into events from fill jid when deciding if we should remove it from roster. fixes #2646
This commit is contained in:
parent
d8391be1dd
commit
636342bc30
|
@ -1136,6 +1136,7 @@ class RosterWindow:
|
||||||
contact.show = show
|
contact.show = show
|
||||||
contact.status = status
|
contact.status = status
|
||||||
if show in ('offline', 'error') and \
|
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.jid)) == 0:
|
||||||
if len(contact_instances) > 1:
|
if len(contact_instances) > 1:
|
||||||
# if multiple resources
|
# if multiple resources
|
||||||
|
|
Loading…
Reference in New Issue