From 39637b6c91aec86f859be27cea78c33648c6e4ff Mon Sep 17 00:00:00 2001 From: Sorunome Date: Fri, 15 May 2020 18:44:59 +0200 Subject: [PATCH] fix emote messages (/me) --- lib/src/room.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {