This commit is contained in:
Neil Alexander 2020-10-15 10:40:56 +01:00
parent e4fcd6be0b
commit f1bc079965
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -476,6 +476,7 @@ func checkAllowedByState(e gomatrixserverlib.Event, stateEvents []gomatrixserver
return gomatrixserverlib.Allowed(e, &authUsingState)
}
// nolint:gocyclo
func (t *txnReq) processEventWithMissingState(ctx context.Context, e gomatrixserverlib.Event, roomVersion gomatrixserverlib.RoomVersion) error {
// Do this with a fresh context, so that we keep working even if the
// original request times out. With any luck, by the time the remote