Fix tb when closing muc with unread messages
This commit is contained in:
parent
5f82f1a413
commit
e22007f1d1
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue