mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
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
@ -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 New Issue
Block a user