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

This commit is contained in:
Yann Leboulanger 2005-05-07 15:23:02 +00:00
parent be913f8f27
commit 00c7b60f18
1 changed files with 2 additions and 0 deletions

View File

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