refactor: Remove pointless assert

This commit is contained in:
Ginger committed 2026-04-22 09:36:40 -04:00
1 parent 7d3ac813b3
commit f2ff83ae6b
1 file changed
-1
-1
View File
@@ -76,7 +76,6 @@ pub(crate) async fn get_message_events_route(
InsecureClientIp(client_ip): InsecureClientIp,
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;