mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-29 17:53:09 -06:00
Only search for missing prev events or state for new events
This commit is contained in:
parent
7a93bb32e7
commit
ae3c4f3c56
|
|
@ -167,7 +167,7 @@ func (r *Inputer) processRoomEvent(
|
|||
}
|
||||
|
||||
missingPrev := len(missingRes.MissingPrevEventIDs) > 0
|
||||
if missingPrev && input.Kind != api.KindOutlier {
|
||||
if missingPrev && input.Kind == api.KindNew {
|
||||
if len(serverRes.ServerNames) > 0 {
|
||||
missingState := missingStateReq{
|
||||
origin: input.Origin,
|
||||
|
|
|
|||
Loading…
Reference in a new issue