mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-04 13:49:15 +01:00
Fix bug where we didn't inform the NotificataionListeners about new rooms they have been subscribed to. This meant that the listeners didn't clean themselves up fully from all the dicts
This commit is contained in:
parent
0775c62469
commit
07d4041709
1 changed files with 3 additions and 0 deletions
|
@ -427,3 +427,6 @@ class Notifier(object):
|
||||||
|
|
||||||
listeners = self.room_to_listeners.setdefault(room_id, set())
|
listeners = self.room_to_listeners.setdefault(room_id, set())
|
||||||
listeners |= new_listeners
|
listeners |= new_listeners
|
||||||
|
|
||||||
|
for l in new_listeners:
|
||||||
|
l.rooms.add(room_id)
|
||||||
|
|
Loading…
Reference in a new issue