bugfix : when we remove an account that was online, we recieve the status "offline" after the account is removed

This commit is contained in:
Yann Leboulanger 2004-04-27 02:29:48 +00:00
parent cfd0e58803
commit 01c12d7053
1 changed files with 2 additions and 0 deletions

View File

@ -1619,6 +1619,8 @@ class roster_Window:
def on_status_changed(self, account, status):
"""the core tells us that our status has changed"""
if not self.contacts.has_key(account):
return
# optionmenu = self.xml.get_widget('optionmenu')
# for i in range(7):
# if optionmenu.get_menu().get_children()[i].name == status: