mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-06-09 17:04:26 -04:00
This patch fixes an issue where an in-thread encrypted event was **always** part of the `TimelineFocusKind::Live` timeline regardless of the `hide_threaded_events` value. The Event Cache is able to know whether an encrypted event is part of a thread, so the Timeline can do the same! Consequently, an in-thread encrypted event no longer appears in the main timeline if `hide_threaded_events` is `true`, to then be removed once decrypted. It fixes/removes one `TODO` in a test.