Merge branch 'soru/fix-emote' into 'master'
fix emote messages (/me) See merge request famedly/famedlysdk!292
This commit is contained in:
commit
93b386d5b6
|
@ -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