diff --git a/src/components/views/rooms/MessageComposerInput.js b/src/components/views/rooms/MessageComposerInput.js index 218fcdc707..129f048493 100644 --- a/src/components/views/rooms/MessageComposerInput.js +++ b/src/components/views/rooms/MessageComposerInput.js @@ -150,7 +150,7 @@ export default class MessageComposerInput extends React.Component { console.error(contentHTML); if (contentHTML) { const content = HTMLtoContentState(contentHTML); - component.setState({editorState: EditorState.createWithContent(content, getScopedDecorator(this.props))}); + component.setState({editorState: EditorState.createWithContent(content, getScopedDecorator(component.props))}); component.resizeInput(); } }