fix emote messages (/me)
This commit is contained in:
parent
729f1f3b78
commit
39637b6c91
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue