refactor: Remove pointless assert

This commit is contained in:
Ginger
2026-04-13 18:16:44 -04:00
parent 9899632b8b
commit f68205a341
-1
View File
@@ -76,7 +76,6 @@ pub(crate) async fn get_message_events_route(
ClientIp(client_ip): ClientIp,
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;