fix behaviour with multiple resources. fixes #2657. continue to test :)

This commit is contained in:
Yann Leboulanger 2006-11-18 13:34:13 +00:00
parent 779a935080
commit fba3db7c57
1 changed files with 1 additions and 2 deletions

View File

@ -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)