From dac2d5e685a39aabd9f61c6bed44c5fe98239a3c Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Fri, 14 Jan 2022 19:26:23 +0530 Subject: [PATCH] Pass everything down into updateEntry --- src/domain/session/room/timeline/tiles/BaseMessageTile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/session/room/timeline/tiles/BaseMessageTile.js b/src/domain/session/room/timeline/tiles/BaseMessageTile.js index 0e1de27c..1fadd855 100644 --- a/src/domain/session/room/timeline/tiles/BaseMessageTile.js +++ b/src/domain/session/room/timeline/tiles/BaseMessageTile.js @@ -119,7 +119,7 @@ export class BaseMessageTile extends SimpleTile { const replyEntry = entry.contextEntry; if (replyEntry) { // this is an update to contextEntry used for replyPreview - const action = this._replyTile?.updateEntry(replyEntry); + const action = this._replyTile?.updateEntry(replyEntry, param, tilesCreator); if (action?.shouldReplace || !this._replyTile) { this.disposeTracked(this._replyTile); this._replyTile = tilesCreator(replyEntry);