diff --git a/src/api/client/message.rs b/src/api/client/message.rs index 00c448f3..6d7d8d2b 100644 --- a/src/api/client/message.rs +++ b/src/api/client/message.rs @@ -67,7 +67,6 @@ pub(crate) async fn get_message_events_route( State(services): State, body: Ruma, ) -> Result { - debug_assert!(IGNORED_MESSAGE_TYPES.is_sorted(), "IGNORED_MESSAGE_TYPES is not sorted"); let sender_user = body.sender_user(); let sender_device = body.sender_device.as_deref(); let room_id = &body.room_id;