Emit change on reply tile

This commit is contained in:
RMidhunSuresh 2022-01-13 14:38:45 +05:30
parent 455b747a1c
commit 951af49e04

View file

@ -101,6 +101,9 @@ export class SimpleTile extends ViewModel {
if (action?.shouldReplace) { if (action?.shouldReplace) {
this._replyTile = this._tileCreator(replyEntry); this._replyTile = this._tileCreator(replyEntry);
} }
else {
this._replyTile?.emitChange();
}
} }
const renderedAsRedacted = this.shape === "redacted"; const renderedAsRedacted = this.shape === "redacted";
if (!entry.isGap && entry.isRedacted !== renderedAsRedacted) { if (!entry.isGap && entry.isRedacted !== renderedAsRedacted) {