diff --git a/syncapi/storage/shared/syncserver.go b/syncapi/storage/shared/syncserver.go index 627932e83..afbf2ec45 100644 --- a/syncapi/storage/shared/syncserver.go +++ b/syncapi/storage/shared/syncserver.go @@ -258,6 +258,7 @@ func (d *Database) RewriteState( } } + // TODO: is there something better here that we can do instead of giving stream position 0? return d.updateRoomState(ctx, txn, []string{}, addStateEvents, types.StreamPosition(0)) }) }