Exclude old room events from sync when consumed from roomserver

This commit is contained in:
Neil Alexander 2020-10-20 09:41:54 +01:00
parent c7bf122a26
commit 1110314c01
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -196,7 +196,7 @@ func (s *OutputRoomEventConsumer) onOldRoomEvent(
[]string{}, // adds no state
[]string{}, // removes no state
nil, // no transaction
false, // not excluded from sync
true, // not excluded from sync
)
if err != nil {
// panic rather than continue with an inconsistent database