From f379bf234196a5ffb3bb3de2f1b304fa0c4262f7 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 17 Jan 2022 16:48:17 +0100 Subject: [PATCH] ensure images load in reply preview in composer --- src/domain/session/room/ComposerViewModel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/domain/session/room/ComposerViewModel.js b/src/domain/session/room/ComposerViewModel.js index 81a8fc17..730e1b20 100644 --- a/src/domain/session/room/ComposerViewModel.js +++ b/src/domain/session/room/ComposerViewModel.js @@ -30,6 +30,7 @@ export class ComposerViewModel extends ViewModel { this._replyVM = this.disposeTracked(this._replyVM); if (entry) { this._replyVM = this.track(this._roomVM._createTile(entry)); + this._replyVM.notifyVisible(); } this.emitChange("replyViewModel"); this.emit("focus");