diff --git a/src/components/views/rooms/MessageComposerInput.js b/src/components/views/rooms/MessageComposerInput.js index e682d28ff6..204ad524fe 100644 --- a/src/components/views/rooms/MessageComposerInput.js +++ b/src/components/views/rooms/MessageComposerInput.js @@ -381,8 +381,6 @@ export default class MessageComposerInput extends React.Component { // emojioneify any emoji - // deliberately lose any inlines and pills via Plain.serialize as we know - // they won't contain emoji // XXX: is getTextsAsArray a private API? editorState.document.getTextsAsArray().forEach(node => { if (node.text !== '' && HtmlUtils.containsEmoji(node.text)) {