From 4eccda06bc27c362c79ed7ce25968da86ca94560 Mon Sep 17 00:00:00 2001 From: "Vlad G." Date: Tue, 3 Dec 2024 00:26:10 +0200 Subject: [PATCH] Squashed commit of the following: commit a9ee03db1a5f17e23e4e42e60449bdefda31a00a Author: Mirian Margiani Date: Mon Dec 2 13:00:38 2024 +0100 Render stickers as images Signed-off-by: Mirian Margiani commit 000d89ea7e820ed3e9f9a057a30523c39bc2c5d6 Author: Mirian Margiani Date: Mon Dec 2 13:00:37 2024 +0100 Show audio messages as files so they can be downloaded Signed-off-by: Mirian Margiani commit cd02ef60dc249d3360ae4f346e244d858b13b9ab Merge: 4ae47c09 58af5913 Author: R Midhun Suresh Date: Mon Oct 21 17:25:32 2024 +0530 Merge pull request #1190 from element-hq/sdk-release/0.3.1 Changes for sdk-release 0.3.1 commit 58af5913ab80ad5315f7e3eb3878663c60f5b1cd Author: R Midhun Suresh Date: Mon Oct 21 17:23:57 2024 +0530 Changes for sdk-release 0.3.1 --- src/domain/session/room/timeline/tiles/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/domain/session/room/timeline/tiles/index.ts b/src/domain/session/room/timeline/tiles/index.ts index 76609b11a3..0802170da9 100644 --- a/src/domain/session/room/timeline/tiles/index.ts +++ b/src/domain/session/room/timeline/tiles/index.ts @@ -72,6 +72,7 @@ export function tileClassForEntry(entry: TimelineEntry, options: Options): TileC case "m.video": return VideoTile; case "m.file": + case "m.audio": return FileTile; case "m.location": return LocationTile; @@ -86,6 +87,9 @@ export function tileClassForEntry(entry: TimelineEntry, options: Options): TileC return UnknownEventTile; } } + case "m.sticker": + // This is an event type and not a message type. + return ImageTile; case "m.room.name": return RoomNameTile; case "m.room.member":