Missing events should be KindOld

This commit is contained in:
Neil Alexander 2022-02-07 09:38:45 +00:00
parent 014db69187
commit 698059185c
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -76,7 +76,7 @@ func (t *missingStateReq) processEventWithMissingState(
// in the gap in the DAG
for _, newEvent := range newEvents {
_, err = t.inputer.processRoomEvent(ctx, t.db, &api.InputRoomEvent{
Kind: api.KindNew,
Kind: api.KindOld,
Event: newEvent.Headered(roomVersion),
Origin: t.origin,
SendAsServer: api.DoNotSendToOtherServers,