diff options
author | Erik Johnston <erikj@matrix.org> | 2023-10-05 12:46:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 10:46:28 +0100 |
commit | 009b47badfed7593cff5f8acbd61e8fddb3ca788 (patch) | |
tree | 98061b9652da95e5892430c5058d2880156d0ea9 /synapse/handlers/initial_sync.py | |
parent | Add type hints to synmark. (#16421) (diff) | |
download | synapse-009b47badfed7593cff5f8acbd61e8fddb3ca788.tar.xz |
Factor out `MultiWriter` token from `RoomStreamToken` (#16427)
Diffstat (limited to 'synapse/handlers/initial_sync.py')
-rw-r--r-- | synapse/handlers/initial_sync.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/handlers/initial_sync.py b/synapse/handlers/initial_sync.py index 5737f8014d..c34bd7db95 100644 --- a/synapse/handlers/initial_sync.py +++ b/synapse/handlers/initial_sync.py @@ -192,8 +192,7 @@ class InitialSyncHandler: ) elif event.membership == Membership.LEAVE: room_end_token = RoomStreamToken( - None, - event.stream_ordering, + stream=event.stream_ordering, ) deferred_room_state = run_in_background( self._state_storage_controller.get_state_for_events, |