remove spurious comment

pull/21833/head
Matthew Hodgson 2018-05-15 00:59:55 +01:00
parent c1000a7cd5
commit 12a56e8b8e
1 changed files with 0 additions and 2 deletions

View File

@ -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)) {