From 5e9ce365bf896f9471684a15183691e4e267011e Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 27 May 2021 10:27:44 +0200 Subject: [PATCH] also apply local relations when loading at top --- src/matrix/room/timeline/Timeline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);