Can get spaces of user
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user