chat: require and remove leading space for /me
Closes Previously, starting a message with '/me' removed itself,
retaining the space between it and the message itself; it also allowed
"/memessages" to be processed as /me messages.
@@ -152,7 +152,7 @@ export class ChatInput extends Component {
getLetterType(letter) {
if (letter.startsWith('/me ')) {
- letter = letter.slice(3);
+ letter = letter.slice(4);
// remove insignificant leading whitespace.
// aces might be relevant to style.
while (letter[0] === '\n') {
