avoid leading space in HTML /me too
This commit is contained in:
parent
c697b48f99
commit
bf8973ad33
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ export default class MessageComposerInput extends React.Component {
|
|||
if (contentText.startsWith('/me')) {
|
||||
contentText = contentText.replace('/me ', '');
|
||||
// bit of a hack, but the alternative would be quite complicated
|
||||
if (contentHTML) contentHTML = contentHTML.replace('/me', '');
|
||||
if (contentHTML) contentHTML = contentHTML.replace('/me ', '');
|
||||
sendHtmlFn = this.client.sendHtmlEmote;
|
||||
sendTextFn = this.client.sendEmoteMessage;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue