From 1b580b30b27ca31c9151f7cb66ef04aa378b39d6 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 3 Mar 2021 11:48:41 +0000 Subject: [PATCH] Tweaks in client API --- clientapi/routing/getevent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/routing/getevent.go b/clientapi/routing/getevent.go index 76e06dfd4..ed66c74f0 100644 --- a/clientapi/routing/getevent.go +++ b/clientapi/routing/getevent.go @@ -23,7 +23,6 @@ import ( userapi "github.com/matrix-org/dendrite/userapi/api" "github.com/matrix-org/gomatrixserverlib" "github.com/matrix-org/util" - log "github.com/sirupsen/logrus" ) type getEventRequest struct { @@ -38,6 +37,7 @@ type getEventRequest struct { // GetEvent implements GET /_matrix/client/r0/rooms/{roomId}/event/{eventId} // https://matrix.org/docs/spec/client_server/r0.4.0.html#get-matrix-client-r0-rooms-roomid-event-eventid +// nolint:gocyclo func GetEvent( req *http.Request, device *userapi.Device,