mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-26 08:11:55 -06:00
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