We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b188a15 commit 38bbdf0Copy full SHA for 38bbdf0
crates/matrix-sdk/src/event_cache/room/mod.rs
@@ -1558,8 +1558,8 @@ mod private {
1558
// so it only contains the last one; otherwise, there might be a
1559
// valid gap in between, and observers may not render it (yet).
1560
//
1561
- // We must do this *after* the above call to `.with_events_mut`, so the new
1562
- // events and gaps are properly persisted to storage.
+ // We must do this *after* persisting these events to storage (in
+ // `post_process_new_events`).
1563
self.shrink_to_last_chunk().await?;
1564
}
1565
0 commit comments