diff --git a/src/matrix/room/timeline/Timeline.js b/src/matrix/room/timeline/Timeline.js index 36bcc110..b364eedb 100644 --- a/src/matrix/room/timeline/Timeline.js +++ b/src/matrix/room/timeline/Timeline.js @@ -164,7 +164,7 @@ export class Timeline { )); try { const entries = await readerRequest.complete(); - this._remoteEntries.setManySorted(entries); + this.addOrReplaceEntries(entries); return entries.length < amount; } finally { this._disposables.disposeTracked(readerRequest);