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/rest | |
parent | Add type hints to synmark. (#16421) (diff) | |
download | synapse-009b47badfed7593cff5f8acbd61e8fddb3ca788.tar.xz |
Factor out `MultiWriter` token from `RoomStreamToken` (#16427)
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/admin/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/admin/__init__.py b/synapse/rest/admin/__init__.py index e42dade246..9bd0d764f8 100644 --- a/synapse/rest/admin/__init__.py +++ b/synapse/rest/admin/__init__.py @@ -146,7 +146,7 @@ class PurgeHistoryRestServlet(RestServlet): # RoomStreamToken expects [int] not Optional[int] assert event.internal_metadata.stream_ordering is not None room_token = RoomStreamToken( - event.depth, event.internal_metadata.stream_ordering + topological=event.depth, stream=event.internal_metadata.stream_ordering ) token = await room_token.to_string(self.store) |