From f89e9f575b9070ccabd7dbe26bffc06d134d5622 Mon Sep 17 00:00:00 2001 From: Krille Date: Thu, 13 Mar 2025 08:15:39 +0100 Subject: [PATCH] refactor: Add file info to placeholder before sending file event --- lib/src/room.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/room.dart b/lib/src/room.dart index 51b4165f..09425c30 100644 --- a/lib/src/room.dart +++ b/lib/src/room.dart @@ -744,6 +744,8 @@ class Room { 'msgtype': file.msgType, 'body': file.name, 'filename': file.name, + 'info': file.info, + if (extraContent != null) ...extraContent, }, type: EventTypes.Message, eventId: txid,