mirror of https://github.com/vector-im/riot-web
fix zero-length /me
parent
bb918f198b
commit
87e1bc2f07
|
@ -314,7 +314,7 @@ module.exports = React.createClass({
|
|||
return;
|
||||
}
|
||||
|
||||
var isEmote = /^\/me /i.test(contentText);
|
||||
var isEmote = /^\/me( |$)/i.test(contentText);
|
||||
var sendMessagePromise;
|
||||
|
||||
if (isEmote) {
|
||||
|
|
Loading…
Reference in New Issue