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/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/sync.py')
-rw-r--r-- | synapse/handlers/sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py index 7bd42f635f..744e080309 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py @@ -2333,7 +2333,7 @@ class SyncHandler: continue leave_token = now_token.copy_and_replace( - StreamKeyType.ROOM, RoomStreamToken(None, event.stream_ordering) + StreamKeyType.ROOM, RoomStreamToken(stream=event.stream_ordering) ) room_entries.append( RoomSyncResultBuilder( |