diff --git a/crates/matrix-sdk-ui/src/timeline/controller/decryption_retry_task.rs b/crates/matrix-sdk-ui/src/timeline/controller/decryption_retry_task.rs index ba49dcdff..211841491 100644 --- a/crates/matrix-sdk-ui/src/timeline/controller/decryption_retry_task.rs +++ b/crates/matrix-sdk-ui/src/timeline/controller/decryption_retry_task.rs @@ -92,10 +92,10 @@ async fn redecryption_report_task(timeline_controller: TimelineController) { } } Ok(RedecryptorReport::Lagging | RedecryptorReport::BackupAvailable) | Err(_) => { - // The room key stream lagged, the OlmMachine got regenerated or we got access - // to a backup. Let's tell the redecryptor to attempt - // redecryption of our timeline items. - timeline_controller.retry_event_decryption(None).await; + // Since the event cache keeps all the events we are keeping + // cached in the timeline in memory as well, + // R2D2 will handle the redecryption of these events when any of + // those reports come in. } } }