Don't drop topo ordering when there is no chunk_id
This commit is contained in:
parent
80a877e9d9
commit
5bf4fa0fc4
|
@ -543,7 +543,7 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore):
|
||||||
stream = row.stream_ordering
|
stream = row.stream_ordering
|
||||||
|
|
||||||
internal = event.internal_metadata
|
internal = event.internal_metadata
|
||||||
if topo_order and chunk:
|
if topo_order:
|
||||||
internal.before = str(RoomStreamToken(chunk, topo, stream - 1))
|
internal.before = str(RoomStreamToken(chunk, topo, stream - 1))
|
||||||
internal.after = str(RoomStreamToken(chunk, topo, stream))
|
internal.after = str(RoomStreamToken(chunk, topo, stream))
|
||||||
internal.order = (
|
internal.order = (
|
||||||
|
|
Loading…
Reference in New Issue