From 1b38bd2b60ef0375795693db8e2be303526c5097 Mon Sep 17 00:00:00 2001 From: Dan Peleg Date: Tue, 31 Oct 2023 01:05:48 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Ignore=20lint=20complexity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clientapi/routing/state.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clientapi/routing/state.go b/clientapi/routing/state.go index 92a969572..7699797ac 100644 --- a/clientapi/routing/state.go +++ b/clientapi/routing/state.go @@ -198,6 +198,8 @@ func OnIncomingStateRequest(ctx context.Context, device *userapi.Device, rsAPI a // state to see if there is an event with that type and state key, if there // is then (by default) we return the content, otherwise a 404. // If eventFormat=true, sends the whole event else just the content. +// +//nolint:gocyclo func OnIncomingStateTypeRequest( ctx context.Context, device *userapi.Device, rsAPI api.ClientRoomserverAPI, roomID, evType, stateKey string, eventFormat bool,