mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-26 15:08:28 +00:00
Only search for missing prev events or state for new events
This commit is contained in:
parent
7a93bb32e7
commit
ae3c4f3c56
1 changed files with 1 additions and 1 deletions
|
@ -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