From 63b6564f70e9a8bd0a00c5b077df1403ad096d55 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Tue, 11 Jan 2022 11:54:41 +0530 Subject: [PATCH] Pass prop change --- 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 4b685fcd..1bf68795 100644 --- a/src/matrix/room/timeline/Timeline.js +++ b/src/matrix/room/timeline/Timeline.js @@ -275,7 +275,7 @@ export class Timeline { if (relatedEntry?.addRelation(entry)) { // update other entries for which this entry is a context entry relatedEntry.contextForEntries?.forEach(e => { - this._remoteEntries.findAndUpdate(te => te.id === e.id, () => true); + this._remoteEntries.findAndUpdate(te => te.id === e.id, () => "contextEntry"); }); } }