remove unread events from systray when we leave a room. Fixes #2867
This commit is contained in:
parent
8ede60ebb0
commit
0ac904c6be
|
@ -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, '''
|
||||||
|
|
Loading…
Reference in New Issue