Fix another path

This commit is contained in:
Neil Alexander 2022-08-09 14:41:32 +01:00
parent 4409ca1dfc
commit 076f9e122f
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 1 additions and 7 deletions

View file

@ -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(

View file

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