mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:16:09 -04:00
Fixup pusher pool notifications
This commit is contained in:
parent
453dfe210b
commit
e7fd336a53
7 changed files with 23 additions and 8 deletions
|
@ -154,7 +154,8 @@ class ReplicationDataHandler:
|
|||
max_token = self.store.get_room_max_stream_ordering()
|
||||
self.notifier.on_new_room_event(event, token, max_token, extra_users)
|
||||
|
||||
await self.pusher_pool.on_new_notifications(token, token)
|
||||
max_token = self.store.get_room_max_stream_ordering()
|
||||
await self.pusher_pool.on_new_notifications(max_token)
|
||||
|
||||
# Notify any waiting deferreds. The list is ordered by position so we
|
||||
# just iterate through the list until we reach a position that is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue