Fix name of text emote sending & fix tests

This commit is contained in:
David Baker 2016-09-26 10:20:56 +01:00
parent bf037ed6c7
commit bbfc05b0c0
3 changed files with 11 additions and 8 deletions

View file

@ -536,7 +536,7 @@ export default class MessageComposerInput extends React.Component {
// bit of a hack, but the alternative would be quite complicated
if (contentHTML) contentHTML = contentHTML.replace('/me', '');
sendHtmlFn = this.client.sendHtmlEmote;
sendTextFn = this.client.sendTextEmote;
sendTextFn = this.client.sendEmoteMessage;
}
// XXX: We don't actually seem to use this history?