do not remove contact from roster when we remove a events from a contact and it is not offline. fixes #2583
This commit is contained in:
parent
21e3f8a6a7
commit
0909fae3cf
|
@ -1173,7 +1173,7 @@ class Interface:
|
|||
if not gajim.config.get('showoffline'):
|
||||
contact = gajim.contacts.get_contact_with_highest_priority(account,
|
||||
jid)
|
||||
if contact:
|
||||
if contact and contact.show in ('error', 'offline'):
|
||||
self.roster.really_remove_contact(contact, account)
|
||||
self.roster.show_title()
|
||||
self.roster.draw_contact(jid, account)
|
||||
|
|
Loading…
Reference in New Issue