sliding-sync: Filter redacted events from bump calculation.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-10-26 19:57:14 +00:00
parent 2263f2e874
commit b714f24029

View File

@@ -176,6 +176,7 @@ async fn handle_room(
.binary_search(pdu.event_type())
.is_ok()
})
.filter(|(_, pdu)| !pdu.is_redacted())
.map(at!(0))
.filter(|count| matches!(count, PduCount::Normal(_)))
.map(PduCount::into_unsigned)