From 7a91dd95953b2ea889db485456454e1e36b1b922 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Thu, 9 Dec 2021 14:56:59 +0530 Subject: [PATCH] Improve comment --- 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 6a9a9473..5044989c 100644 --- a/src/matrix/room/timeline/Timeline.js +++ b/src/matrix/room/timeline/Timeline.js @@ -281,7 +281,7 @@ export class Timeline { if (contextEvent) { if (needToTrack) { // this entry was created from storage/hs, so it's not tracked by remoteEntries - // we track them here for redactions + // we track them here so that we can update reply preview of dependents on redaction this._fetchedEventEntries.push(contextEvent); } contextEvent.addDependent(entry);