forked from mystiq/hydrogen-web
Merge pull request #644 from vector-im/bwindels/fix-images-in-replies
fix images not loading in replies
This commit is contained in:
commit
acc9167991
2 changed files with 7 additions and 0 deletions
|
@ -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");
|
||||
|
|
|
@ -31,6 +31,12 @@ export class BaseMessageTile extends SimpleTile {
|
|||
this._updateReplyTileIfNeeded(options.tilesCreator, undefined);
|
||||
}
|
||||
|
||||
notifyVisible() {
|
||||
super.notifyVisible();
|
||||
this._replyTile?.notifyVisible();
|
||||
}
|
||||
|
||||
|
||||
get _mediaRepository() {
|
||||
return this._room.mediaRepository;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue