From 076f9e122f4a93ade19d643dc0d8914cd339f2e3 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 9 Aug 2022 14:41:32 +0100 Subject: [PATCH] Fix another path --- federationapi/inthttp/client.go | 6 ------ federationapi/inthttp/server.go | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/federationapi/inthttp/client.go b/federationapi/inthttp/client.go index 3ed5cfefb..fd13c1614 100644 --- a/federationapi/inthttp/client.go +++ b/federationapi/inthttp/client.go @@ -187,8 +187,6 @@ func (h *httpFederationInternalAPI) ClaimKeys( type queryKeys struct { S gomatrixserverlib.ServerName Keys map[string][]string - Res *gomatrixserverlib.RespQueryKeys - Err *api.FederationClientError } func (h *httpFederationInternalAPI) QueryKeys( @@ -208,8 +206,6 @@ type backfill struct { RoomID string Limit int EventIDs []string - Res *gomatrixserverlib.Transaction - Err *api.FederationClientError } func (h *httpFederationInternalAPI) Backfill( @@ -377,8 +373,6 @@ type spacesReq struct { S gomatrixserverlib.ServerName SuggestedOnly bool RoomID string - Res gomatrixserverlib.MSC2946SpacesResponse - Err *api.FederationClientError } func (h *httpFederationInternalAPI) MSC2946Spaces( diff --git a/federationapi/inthttp/server.go b/federationapi/inthttp/server.go index 2d9759778..09590a132 100644 --- a/federationapi/inthttp/server.go +++ b/federationapi/inthttp/server.go @@ -52,7 +52,7 @@ func AddRoutes(intAPI api.FederationInternalAPI, internalAPIMux *mux.Router) { ) internalAPIMux.Handle( - FederationAPIPerformJoinRequestPath, + FederationAPIGetUserDevicesPath, httputil.MakeInternalProxyAPI( "FederationAPIGetUserDevices", func(ctx context.Context, req *getUserDevices) (*gomatrixserverlib.RespUserDevices, error) {