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) {