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

bugfix: when a user go offline and quickly online it was removed from the roster

parent be913f8f
No related branches found
No related tags found
No related merge requests found
......@@ -149,6 +149,8 @@ class Roster_window:
self.draw_contact(jid, account)
def really_remove_user(self, user, account):
if user.jid in self.newly_added[account]:
return
if user.jid in self.to_be_removed[account]:
self.to_be_removed[account].remove(user.jid)
self.remove_user(user, account)
......
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