diff options
author | Erik Johnston <erik@matrix.org> | 2024-07-26 13:17:50 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2024-07-26 13:17:50 +0100 |
commit | b2edef56a2265fc1292339a01a9aea1176de4b59 (patch) | |
tree | 79155be059a48ee54a4e151a671349e2ceb96c3a | |
parent | REVERT (diff) | |
download | synapse-b2edef56a2265fc1292339a01a9aea1176de4b59.tar.xz |
LINT
-rw-r--r-- | synapse/handlers/sliding_sync.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/sliding_sync.py b/synapse/handlers/sliding_sync.py index b88afc3db9..781e008daf 100644 --- a/synapse/handlers/sliding_sync.py +++ b/synapse/handlers/sliding_sync.py @@ -1841,6 +1841,7 @@ class SlidingSyncHandler: bump_stamp = None if timeline_events: for e in reversed(timeline_events): + assert e.internal_metadata.stream_ordering is not None if ( e.type in DEFAULT_BUMP_EVENT_TYPES and e.internal_metadata.stream_ordering > 0 |