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

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

parent 8ede60eb
No related branches found
No related tags found
No related merge requests found
......@@ -1341,6 +1341,8 @@ class GroupchatControl(ChatControlBase):
if self.handlers[i].handler_is_connected(i):
self.handlers[i].disconnect(i)
del self.handlers[i]
# Remove unread events from systray
gajim.events.remove_events(self.account, self.room_jid)
def allow_shutdown(self, method):
'''If check_selection is True, '''
......
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