add element web search count hack (?)

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-23 23:40:09 -04:00 committed by June
parent f4146de17d
commit c2e89b939c
3 changed files with 10 additions and 6 deletions

View file

@ -193,7 +193,7 @@ pub async fn get_message_events_route(
* https://github.com/vector-im/element-android/issues/3417
* https://github.com/vector-im/element-web/issues/21034
*/
if !cfg!(features = "element_hacks")
if !cfg!(feature = "element_hacks")
&& !services().rooms.lazy_loading.lazy_load_was_sent_before(
sender_user,
sender_device,
@ -237,7 +237,7 @@ pub async fn get_message_events_route(
* https://github.com/vector-im/element-android/issues/3417
* https://github.com/vector-im/element-web/issues/21034
*/
if !cfg!(features = "element_hacks")
if !cfg!(feature = "element_hacks")
&& !services().rooms.lazy_loading.lazy_load_was_sent_before(
sender_user,
sender_device,