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,