From 951af49e043876ddf1636907a9b38d02dad22ce2 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Thu, 13 Jan 2022 14:38:45 +0530 Subject: [PATCH] Emit change on reply tile --- src/domain/session/room/timeline/tiles/SimpleTile.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/domain/session/room/timeline/tiles/SimpleTile.js b/src/domain/session/room/timeline/tiles/SimpleTile.js index 19b1d0eb..54740d59 100644 --- a/src/domain/session/room/timeline/tiles/SimpleTile.js +++ b/src/domain/session/room/timeline/tiles/SimpleTile.js @@ -101,6 +101,9 @@ export class SimpleTile extends ViewModel { if (action?.shouldReplace) { this._replyTile = this._tileCreator(replyEntry); } + else { + this._replyTile?.emitChange(); + } } const renderedAsRedacted = this.shape === "redacted"; if (!entry.isGap && entry.isRedacted !== renderedAsRedacted) {