Can send text message
This commit is contained in:
@@ -169,6 +169,10 @@ async fn main() -> std::io::Result<()> {
|
||||
"/api/matrix/room/{id}/events",
|
||||
web::get().to(matrix_event_controller::get_for_room),
|
||||
)
|
||||
.route(
|
||||
"/api/matrix/room/{id}/send_text_message",
|
||||
web::post().to(matrix_event_controller::send_text_message),
|
||||
)
|
||||
// Matrix media controller
|
||||
.route(
|
||||
"/api/matrix/media/{mxc}",
|
||||
|
||||
Reference in New Issue
Block a user