Can get spaces of user

This commit is contained in:
2025-11-21 18:38:12 +01:00
parent 35b53fee5c
commit d23190f9d2
2 changed files with 37 additions and 0 deletions

View File

@@ -142,6 +142,10 @@ async fn main() -> std::io::Result<()> {
"/api/matrix/room/joined",
web::get().to(matrix_room_controller::joined_rooms),
)
.route(
"/api/matrix/room/joined_spaces",
web::get().to(matrix_room_controller::get_joined_spaces),
)
.route(
"/api/matrix/room/{id}",
web::get().to(matrix_room_controller::single_room_info),