Remove redundant debug assert

This commit is contained in:
dasha_uwu
2026-02-07 12:19:23 +05:00
committed by Jason Volk
parent 34fb683ddd
commit d6ae4e5ff2

View File

@@ -67,7 +67,6 @@ pub(crate) async fn get_message_events_route(
State(services): State<crate::State>,
body: Ruma<get_message_events::v3::Request>,
) -> Result<get_message_events::v3::Response> {
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;