summary refs log tree commit diff
path: root/synapse/push/pusherpool.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-16 15:06:19 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-16 15:06:19 +0100
commit394e6d2c723cef2ad5a63c4db5f0f68dea26e025 (patch)
treea3f979a8fe50852fad93e8232674d5f27a7f34ce /synapse/push/pusherpool.py
parentlint (diff)
parentPreparatory refactoring of the SamlHandlerTestCase (#8938) (diff)
downloadsynapse-394e6d2c723cef2ad5a63c4db5f0f68dea26e025.tar.xz
Merge commit '01333681b' into anoa/dinsic_release_1_31_0
Diffstat (limited to 'synapse/push/pusherpool.py')
-rw-r--r--synapse/push/pusherpool.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/synapse/push/pusherpool.py b/synapse/push/pusherpool.py

index 748b1407c6..409e46da8f 100644 --- a/synapse/push/pusherpool.py +++ b/synapse/push/pusherpool.py
@@ -129,9 +129,8 @@ class PusherPool: ) # create the pusher setting last_stream_ordering to the current maximum - # stream ordering in event_push_actions, so it will process - # pushes from this point onwards. - last_stream_ordering = await self.store.get_latest_push_action_stream_ordering() + # stream ordering, so it will process pushes from this point onwards. + last_stream_ordering = self.store.get_room_max_stream_ordering() await self.store.add_pusher( user_id=user_id,