really_remove_user removes the user even if it is not in to_be_removed (ex: we connect, a contact has sent us messages while we were offline, we read them, the user should disapear)
This commit is contained in:
parent
c827489dff
commit
9c926c1ad1
|
@ -165,7 +165,7 @@ class Roster_window:
|
|||
def really_remove_user(self, user, account):
|
||||
if user.jid in self.to_be_removed[account]:
|
||||
self.to_be_removed[account].remove(user.jid)
|
||||
self.remove_user(user, account)
|
||||
self.remove_user(user, account)
|
||||
|
||||
def remove_user(self, user, account):
|
||||
"""Remove a user from the roster"""
|
||||
|
|
Loading…
Reference in New Issue