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

bugfix : when we remove an account that was online, we recieve the status...

bugfix : when we remove an account that was online, we recieve the status "offline" after the account is removed
parent cfd0e588
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
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