Can get room avatar

This commit is contained in:
2025-11-21 15:43:15 +01:00
parent ecbe4885c1
commit e8ce97eea0
8 changed files with 112 additions and 3 deletions

View File

@@ -144,6 +144,10 @@ async fn main() -> std::io::Result<()> {
"/api/matrix/room/{id}",
web::get().to(matrix_room_controller::single_room_info),
)
.route(
"/api/matrix/room/{id}/avatar",
web::get().to(matrix_room_controller::room_avatar),
)
})
.workers(4)
.bind(&AppConfig::get().listen_address)?