ensure images load in reply preview in composer

This commit is contained in:
Bruno Windels 2022-01-17 16:48:17 +01:00
parent 454d2d3666
commit f379bf2341

View file

@ -30,6 +30,7 @@ export class ComposerViewModel extends ViewModel {
this._replyVM = this.disposeTracked(this._replyVM); this._replyVM = this.disposeTracked(this._replyVM);
if (entry) { if (entry) {
this._replyVM = this.track(this._roomVM._createTile(entry)); this._replyVM = this.track(this._roomVM._createTile(entry));
this._replyVM.notifyVisible();
} }
this.emitChange("replyViewModel"); this.emitChange("replyViewModel");
this.emit("focus"); this.emit("focus");