fix zero-length /me
This commit is contained in:
parent
bb918f198b
commit
87e1bc2f07
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…
Add table
Add a link
Reference in a new issue