From 287212956b8f1efb494b0fd37035afb06aa76e9d Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Fri, 10 Dec 2021 12:47:52 +0530 Subject: [PATCH] findAndUpdate instead of update --- 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 5044989c..3c843d26 100644 --- a/src/matrix/room/timeline/Timeline.js +++ b/src/matrix/room/timeline/Timeline.js @@ -287,7 +287,7 @@ export class Timeline { contextEvent.addDependent(entry); entry.setContextEntry(contextEvent); // emit this change - this._remoteEntries.update(entry); + this._findAndUpdateRelatedEntry(null, entry.id, () => true); } } }