diff --git a/src/api/client_server/search.rs b/src/api/client_server/search.rs index c93038ea..d2a305d7 100644 --- a/src/api/client_server/search.rs +++ b/src/api/client_server/search.rs @@ -167,11 +167,7 @@ pub async fn search_events_route(body: Ruma) -> Resu Ok(search_events::v3::Response::new(ResultCategories { room_events: ResultRoomEvents { - count: if cfg!(feature = "element_hacks") { - Some((results.len() as u32).into()) - } else { - None - }, // TODO: set this to none. Element shouldn't depend on it (strawberry: why not?) + count: Some((results.len() as u32).into()), groups: BTreeMap::new(), // TODO next_batch, results,