take into events from fill jid when deciding if we should remove it from roster. fixes #2646

This commit is contained in:
Yann Leboulanger 2006-11-06 22:15:33 +00:00
parent d8391be1dd
commit 636342bc30
1 changed files with 1 additions and 0 deletions

View File

@ -1136,6 +1136,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:
if len(contact_instances) > 1:
# if multiple resources