fix behaviour with multiple resources. fixes #2657. continue to test :)
This commit is contained in:
parent
779a935080
commit
fba3db7c57
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue