Can get read receipts
This commit is contained in:
@@ -155,6 +155,10 @@ async fn main() -> std::io::Result<()> {
|
||||
"/api/matrix/room/{room_id}/avatar",
|
||||
web::get().to(matrix_room_controller::room_avatar),
|
||||
)
|
||||
.route(
|
||||
"/api/matrix/room/{room_id}/receipts",
|
||||
web::get().to(matrix_room_controller::receipts),
|
||||
)
|
||||
// Matrix profile controller
|
||||
.route(
|
||||
"/api/matrix/profile/{user_id}",
|
||||
@@ -189,7 +193,7 @@ async fn main() -> std::io::Result<()> {
|
||||
"/api/matrix/room/{room_id}/event/{event_id}",
|
||||
web::delete().to(matrix_event_controller::redact_event),
|
||||
)
|
||||
.route(
|
||||
.route(
|
||||
"/api/matrix/room/{room_id}/event/{event_id}/receipt",
|
||||
web::post().to(matrix_event_controller::receipt),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user