Hacky way to spot historical events

This commit is contained in:
Neil Alexander 2020-09-09 09:30:08 +01:00
parent bacf54cd5e
commit eb86b36ba6
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -150,7 +150,7 @@ func (s *OutputRoomEventConsumer) onNewRoomEvent(
msg.AddsStateEventIDs,
msg.RemovesStateEventIDs,
msg.TransactionID,
false,
msg.SendAsServer == "", // TODO: this helps us to spot backfilled/historical events but there must be a better way
)
if err != nil {
// panic rather than continue with an inconsistent database