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,