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,
|
intAPI.QueryJoinedHostServerNamesInRoom,
|
||||||
).Serve(internalAPIMux)
|
).Serve(internalAPIMux)
|
||||||
|
|
||||||
|
httputil.NewInternalAPIServer(
|
||||||
|
"PerformInvite",
|
||||||
|
FederationAPIPerformInviteRequestPath,
|
||||||
|
intAPI.PerformInvite,
|
||||||
|
).Serve(internalAPIMux)
|
||||||
|
|
||||||
httputil.NewInternalAPIServer(
|
httputil.NewInternalAPIServer(
|
||||||
"PerformLeave",
|
"PerformLeave",
|
||||||
FederationAPIPerformLeaveRequestPath,
|
FederationAPIPerformLeaveRequestPath,
|
||||||
|
|
Loading…
Reference in a new issue