diff --git a/src/api/client/message.rs b/src/api/client/message.rs index e442850b..16b1796a 100644 --- a/src/api/client/message.rs +++ b/src/api/client/message.rs @@ -143,10 +143,7 @@ pub(crate) async fn get_message_events_route( if let Some(registration) = body.appservice_info.as_ref() { <&DeviceId>::from(registration.registration.id.as_str()) } else { - panic!( - "No device_id provided and no appservice registration found, this \ - should be unreachable" - ); + panic!("No device_id provided and no appservice registration found, this should be unreachable"); }, }, room_id,