From b0e8506cb517fdbbdaaed97434311da6e5dd3ddd Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 17 Jan 2022 16:48:36 +0100 Subject: [PATCH] ensure images load in reply preview in timeline --- src/domain/session/room/timeline/tiles/BaseMessageTile.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/domain/session/room/timeline/tiles/BaseMessageTile.js b/src/domain/session/room/timeline/tiles/BaseMessageTile.js index d04ee495..6b0b4356 100644 --- a/src/domain/session/room/timeline/tiles/BaseMessageTile.js +++ b/src/domain/session/room/timeline/tiles/BaseMessageTile.js @@ -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; }