From 2e0d1363c7bfee06cee107778b0bf7bdcbb37db3 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 26 Oct 2020 10:16:23 +0100 Subject: [PATCH] fix --- src/domain/session/room/timeline/tiles/ImageTile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/session/room/timeline/tiles/ImageTile.js b/src/domain/session/room/timeline/tiles/ImageTile.js index e1c5c229..2d8d912e 100644 --- a/src/domain/session/room/timeline/tiles/ImageTile.js +++ b/src/domain/session/room/timeline/tiles/ImageTile.js @@ -70,7 +70,7 @@ export class ImageTile extends MessageTile { this._decryptedImage = await this._loadEncryptedFile(file); } } - return this._decryptedImage || ""; + return this._decryptedImage?.uri || ""; } _scaleFactor() {