fix zero-length /me
This commit is contained in:
parent
8f967d6e23
commit
4571c64413
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue