feat: Add Element Call / MatrixRTC support

This commit is contained in:
tototomate123
2025-10-28 21:51:36 +01:00
committed by Jason Volk
parent 888f72d8d0
commit e1f89b69ea
5 changed files with 100 additions and 12 deletions

View File

@@ -190,7 +190,8 @@ pub fn build(router: Router<State>, server: &Server) -> Router<State> {
get(client::get_room_summary_legacy)
)
.ruma_route(&client::well_known_support)
.ruma_route(&client::well_known_client)
// this is the only thing currently needed to support Element Video Rooms / Calls.
.route("/.well-known/matrix/client", get(client::well_known_client))
.route("/_tuwunel/server_version", get(client::tuwunel_server_version))
.ruma_route(&client::room_initial_sync_route)
.route("/client/server.json", get(client::syncv3_client_server_json));