From 7ef79c92f51091214b8e480b1e065e55e85db78f Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Wed, 15 Dec 2021 11:42:37 +0530 Subject: [PATCH] Remove entry from map --- src/matrix/room/timeline/Timeline.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matrix/room/timeline/Timeline.js b/src/matrix/room/timeline/Timeline.js index dcbeae5f..81c176f9 100644 --- a/src/matrix/room/timeline/Timeline.js +++ b/src/matrix/room/timeline/Timeline.js @@ -280,6 +280,7 @@ export class Timeline { if (fetchedEntry) { fetchedEntry.contextForEntries.forEach(e => e.setContextEntry(entry)); entry.updateFrom(fetchedEntry); + this._contextEntriesNotInTimeline.delete(entry.id); } } }