Don't drop topo ordering when there is no chunk_id

This commit is contained in:
Erik Johnston 2018-06-01 11:43:03 +01:00
parent 80a877e9d9
commit 5bf4fa0fc4
1 changed files with 1 additions and 1 deletions

View File

@ -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 = (