diff --git a/src/api/client_server/report.rs b/src/api/client_server/report.rs index 85e3f543..343d9a28 100644 --- a/src/api/client_server/report.rs +++ b/src/api/client_server/report.rs @@ -72,32 +72,38 @@ pub async fn report_event_route( }; // send admin room message that we received the report with an @room ping for urgency - services().admin + services() + .admin .send_message(message::RoomMessageEventContent::text_html( - format!( - "@room Report received from: {}\n\n\ - Event ID: {:?}\n\ - Room ID: {:?}\n\ - Sent By: {:?}\n\n\ - Report Score: {:#?}\n\ - Report Reason: {:?}", - sender_user.to_owned(), pdu.event_id, pdu.room_id, pdu.sender, body.score, body.reason - ), - format!( - "
@room Report received from: {0}\ -