From b4886aeb49c77f7b416bf88ee57cc6c0be4013db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 9 Sep 2024 15:50:03 +0200 Subject: [PATCH] fixup! timeline: Retry decryption if a room key backup gets enabled --- crates/matrix-sdk-ui/src/timeline/builder.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/crates/matrix-sdk-ui/src/timeline/builder.rs b/crates/matrix-sdk-ui/src/timeline/builder.rs index 51c716fc9e3..04bfcad83fe 100644 --- a/crates/matrix-sdk-ui/src/timeline/builder.rs +++ b/crates/matrix-sdk-ui/src/timeline/builder.rs @@ -396,7 +396,14 @@ impl TimelineBuilder { } // The other states aren't interesting since they are either still enabling // the backup or have the backup in the disabled state. - _ => (), + Ok( + BackupState::Unknown + | BackupState::Creating + | BackupState::Resuming + | BackupState::Disabling + | BackupState::Downloading + | BackupState::Enabling, + ) => (), } } })