remove unread events from systray when we leave a room. Fixes #2867

This commit is contained in:
Yann Leboulanger 2007-01-06 20:41:03 +00:00
parent 8ede60ebb0
commit 0ac904c6be
1 changed files with 2 additions and 0 deletions

View File

@ -1341,6 +1341,8 @@ class GroupchatControl(ChatControlBase):
if self.handlers[i].handler_is_connected(i): if self.handlers[i].handler_is_connected(i):
self.handlers[i].disconnect(i) self.handlers[i].disconnect(i)
del self.handlers[i] del self.handlers[i]
# Remove unread events from systray
gajim.events.remove_events(self.account, self.room_jid)
def allow_shutdown(self, method): def allow_shutdown(self, method):
'''If check_selection is True, ''' '''If check_selection is True, '''