mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
Emit change on reply tile
This commit is contained in:
parent
455b747a1c
commit
951af49e04
@ -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 New Issue
Block a user