This commit is contained in:
Neil Alexander 2020-09-10 16:02:13 +01:00
parent fcaac928e8
commit c7bc799944
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -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)) return d.updateRoomState(ctx, txn, []string{}, addStateEvents, types.StreamPosition(0))
}) })
} }