sliding-sync: Filter redacted events from bump calculation.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-10-27 09:06:02 +00:00
1 parent 2263f2e874
commit b714f24029
1 file changed
+1
+1
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)