summary refs log tree commit diff
path: root/synapse/storage/stream.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-06-01 11:43:03 +0100
committerErik Johnston <erik@matrix.org>2018-06-01 11:43:03 +0100
commit5bf4fa0fc47664bf8089ad36e70a2b2f746386eb (patch)
tree3e7a80f649c5c000140a86ab0c3de90898538c0f /synapse/storage/stream.py
parentComment on stream vs topological vs depth ordering in schema (diff)
downloadsynapse-5bf4fa0fc47664bf8089ad36e70a2b2f746386eb.tar.xz
Don't drop topo ordering when there is no chunk_id
Diffstat (limited to 'synapse/storage/stream.py')
-rw-r--r--synapse/storage/stream.py2
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 = (