Commit 7f191fff1b10
tarball1 file changed+4-2
@@ -230,8 +230,10 @@ impl Timeline {
230230
/// Wait for earlier history operations on the room cache, then until this231231
/// live timeline has applied every update they published.232232
///233
- /// Updates apply incrementally, keeping read receipts and item ids, and234
- /// only a lagged subscriber falls back to replacing the timeline.233
+ /// History commits arrive as inserts into the window the cache has loaded,234
+ /// keeping read receipts and item ids. The cache resets the timeline only235
+ /// when that window no longer extends what it already published, and a236
+ /// lagged subscriber falls back to replacing the timeline.235237
pub async fn flush_history(&self) -> Result<(), Error> {236238
let Some(flush) = &self.history_flush else {237239
return Ok(());