add registration token validity endpoint as per matrix 1.2

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-05-22 20:57:34 -04:00 committed by June 🍓🦴
parent 06bec40591
commit cb73ae3732
2 changed files with 23 additions and 1 deletions

View file

@ -28,6 +28,7 @@ pub fn build(router: Router, server: &Server) -> Router {
.ruma_route(client_server::third_party_route)
.ruma_route(client_server::request_3pid_management_token_via_email_route)
.ruma_route(client_server::request_3pid_management_token_via_msisdn_route)
.ruma_route(client_server::check_registration_token_validity)
.ruma_route(client_server::get_capabilities_route)
.ruma_route(client_server::get_pushrules_all_route)
.ruma_route(client_server::set_pushrule_route)