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:
Yann Leboulanger 2005-04-13 08:03:11 +00:00
parent c827489dff
commit 9c926c1ad1
1 changed files with 1 additions and 1 deletions

View File

@ -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"""