From f1bc079965dd907280333b8513b71e5c9aa6b8be Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Thu, 15 Oct 2020 10:40:56 +0100 Subject: [PATCH] Lint --- federationapi/routing/send.go | 1 + 1 file changed, 1 insertion(+) diff --git a/federationapi/routing/send.go b/federationapi/routing/send.go index fa29d0b20..b5de78a63 100644 --- a/federationapi/routing/send.go +++ b/federationapi/routing/send.go @@ -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