Skip to content
Snippets Groups Projects
Commit e4692d22 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

do not remove a contact from the roster if show_offline is True

parent 457a800c
No related branches found
No related tags found
No related merge requests found
......@@ -159,6 +159,9 @@ class Roster_window:
'''Remove a user from the roster'''
if user.jid in self.to_be_removed[account]:
return
if gajim.config.get('showoffline'):
self.draw_contact(user.jid, account)
return
model = self.tree.get_model()
for i in self.get_user_iter(user.jid, account):
parent_i = model.iter_parent(i)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment