matrix-org / matrix-rust-sdk

Matrix Client-Server SDK for Rust
Apache License 2.0
1.28k stars 254 forks source link

Filter RRs on specific event types. #3065

Open Velin92 opened 10 months ago

Velin92 commented 10 months ago

On some clients, like Element X we would like to still keep state events, but not show read receipts on them, however this would create an issue where RRs would magically disappear. Since we are working on a filter that hides the state event, but is capable of moving the RR on the closest event, would be possible to improve this API further (or create a similar one) were the filtered event does not hide but has its RR moved to the closest non filtered event so that we can have RRs only show for Messages if we want on a specific client.

bnjbvr commented 10 months ago

Thanks for opening an issue, I'll take a stab at it.