mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-23 14:53:10 -06:00
Hacky way to spot historical events
This commit is contained in:
parent
bacf54cd5e
commit
eb86b36ba6
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue