From ac085d3cd9ae3e3d3097c687fa4221fcab51f4ec Mon Sep 17 00:00:00 2001 From: Sam Wedgwood Date: Wed, 16 Aug 2023 15:54:03 +0100 Subject: [PATCH] add temporary `nolint:gocyclo` --- clientapi/routing/state.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clientapi/routing/state.go b/clientapi/routing/state.go index 2af7b6e84..6ca6680f4 100644 --- a/clientapi/routing/state.go +++ b/clientapi/routing/state.go @@ -210,6 +210,9 @@ 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. +// +// TODO: remove this nolint when inner TODO resolved +// nolint:gocyclo func OnIncomingStateTypeRequest( ctx context.Context, device *userapi.Device, rsAPI api.ClientRoomserverAPI, roomID, evType, stateKey string, eventFormat bool,