fix behaviour with multiple resources. fixes #2657. continue to test :)
This commit is contained in:
parent
779a935080
commit
fba3db7c57
1 changed files with 1 additions and 2 deletions
|
@ -1172,8 +1172,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.get_full_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
|
||||||
gajim.contacts.remove_contact(account, contact)
|
gajim.contacts.remove_contact(account, contact)
|
||||||
|
|
Loading…
Add table
Reference in a new issue