Skip to content
Snippets Groups Projects
Commit e22007f1 authored by steve-e's avatar steve-e
Browse files

Fix tb when closing muc with unread messages

parent 5f82f1a4
No related branches found
No related tags found
No related merge requests found
...@@ -143,8 +143,8 @@ class Events: ...@@ -143,8 +143,8 @@ class Events:
self.fire_event_removed(removed_list) self.fire_event_removed(removed_list)
return return
# no event nor type given, remove them all # no event nor type given, remove them all
del self._events[account][jid]
self.fire_event_removed(self._events[account][jid]) self.fire_event_removed(self._events[account][jid])
del self._events[account][jid]
def change_jid(self, account, old_jid, new_jid): def change_jid(self, account, old_jid, new_jid):
if not self._events[account].has_key(old_jid): if not self._events[account].has_key(old_jid):
......
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