diff --git a/federationapi/inthttp/server.go b/federationapi/inthttp/server.go index 04d69c5aa..951e202d6 100644 --- a/federationapi/inthttp/server.go +++ b/federationapi/inthttp/server.go @@ -19,6 +19,12 @@ func AddRoutes(intAPI api.FederationInternalAPI, internalAPIMux *mux.Router) { intAPI.QueryJoinedHostServerNamesInRoom, ).Serve(internalAPIMux) + httputil.NewInternalAPIServer( + "PerformInvite", + FederationAPIPerformInviteRequestPath, + intAPI.PerformInvite, + ).Serve(internalAPIMux) + httputil.NewInternalAPIServer( "PerformLeave", FederationAPIPerformLeaveRequestPath,