sliding-sync: Filter redacted events from bump calculation.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
2263f2e874
commit
b714f24029
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue