diff --git a/lib/src/room.dart b/lib/src/room.dart index 5be217d..7853f8d 100644 --- a/lib/src/room.dart +++ b/lib/src/room.dart @@ -483,7 +483,7 @@ class Room { 'body': message, }; if (message.startsWith('/me ')) { - event['type'] = 'm.emote'; + event['msgtype'] = 'm.emote'; event['body'] = message.substring(4); } if (parseMarkdown) {