From 2d7402ed7dc8a3c84db81fa572e4ff05b3d2de84 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 8 Aug 2022 09:44:31 +0100 Subject: [PATCH] Add `PerformInvite` --- federationapi/inthttp/server.go | 6 ++++++ 1 file changed, 6 insertions(+) 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,