From bc886cbc7b7b7e049fb4bef4f88d34999cf446d2 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Fri, 24 Jul 2020 17:49:04 +0100 Subject: [PATCH] Linting --- clientapi/routing/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/routing/state.go b/clientapi/routing/state.go index a50f1e883..9c2bed12e 100644 --- a/clientapi/routing/state.go +++ b/clientapi/routing/state.go @@ -133,7 +133,7 @@ func OnIncomingStateTypeRequest( var event *gomatrixserverlib.HeaderedEvent if membershipRes.IsInRoom { stateRes := api.QueryLatestEventsAndStateResponse{} - if err := rsAPI.QueryLatestEventsAndState(ctx, &api.QueryLatestEventsAndStateRequest{ + if err = rsAPI.QueryLatestEventsAndState(ctx, &api.QueryLatestEventsAndStateRequest{ RoomID: roomID, StateToFetch: []gomatrixserverlib.StateKeyTuple{ gomatrixserverlib.StateKeyTuple{