Revert "Fixup pusher pool notifications"

This reverts commit e7fd336a53.
This commit is contained in:
Erik Johnston 2020-09-09 16:19:22 +01:00
parent e7fd336a53
commit dc9dcdbd59
7 changed files with 8 additions and 23 deletions

View file

@ -154,8 +154,7 @@ class ReplicationDataHandler:
max_token = self.store.get_room_max_stream_ordering()
self.notifier.on_new_room_event(event, token, max_token, extra_users)
max_token = self.store.get_room_max_stream_ordering()
await self.pusher_pool.on_new_notifications(max_token)
await self.pusher_pool.on_new_notifications(token, 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