fix leading extraneous space in emotes

pull/21833/head
Lieuwe Rooijakkers 2017-03-19 21:52:24 +01:00
parent 33f5c286bb
commit c697b48f99
1 changed files with 1 additions and 1 deletions

View File

@ -541,7 +541,7 @@ export default class MessageComposerInput extends React.Component {
let sendTextFn = this.client.sendTextMessage;
if (contentText.startsWith('/me')) {
contentText = contentText.replace('/me', '');
contentText = contentText.replace('/me ', '');
// bit of a hack, but the alternative would be quite complicated
if (contentHTML) contentHTML = contentHTML.replace('/me', '');
sendHtmlFn = this.client.sendHtmlEmote;