forked from mystiq/hydrogen-web
Emit change on reply tile
This commit is contained in:
parent
455b747a1c
commit
951af49e04
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue