Add PerformInvite
This commit is contained in:
parent
4a69b1cedf
commit
2d7402ed7d
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue