diff options
author | Erik Johnston <erik@matrix.org> | 2018-06-01 11:43:03 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-06-01 11:43:03 +0100 |
commit | 5bf4fa0fc47664bf8089ad36e70a2b2f746386eb (patch) | |
tree | 3e7a80f649c5c000140a86ab0c3de90898538c0f | |
parent | Comment on stream vs topological vs depth ordering in schema (diff) | |
download | synapse-5bf4fa0fc47664bf8089ad36e70a2b2f746386eb.tar.xz |
Don't drop topo ordering when there is no chunk_id
-rw-r--r-- | synapse/storage/stream.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py index 34a5f7e3e7..baf3715c28 100644 --- a/synapse/storage/stream.py +++ b/synapse/storage/stream.py @@ -543,7 +543,7 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore): stream = row.stream_ordering internal = event.internal_metadata - if topo_order and chunk: + if topo_order: internal.before = str(RoomStreamToken(chunk, topo, stream - 1)) internal.after = str(RoomStreamToken(chunk, topo, stream)) internal.order = ( |