Pass everything down into updateEntry

This commit is contained in:
RMidhunSuresh 2022-01-14 19:26:23 +05:30
parent 0af9f10166
commit dac2d5e685

View file

@ -119,7 +119,7 @@ export class BaseMessageTile extends SimpleTile {
const replyEntry = entry.contextEntry; const replyEntry = entry.contextEntry;
if (replyEntry) { if (replyEntry) {
// this is an update to contextEntry used for replyPreview // 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) { if (action?.shouldReplace || !this._replyTile) {
this.disposeTracked(this._replyTile); this.disposeTracked(this._replyTile);
this._replyTile = tilesCreator(replyEntry); this._replyTile = tilesCreator(replyEntry);