Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 4e0720d

Browse files
committed
Fix MessageComposerInput.setLastTextEntry
1 parent 29cdd1f commit 4e0720d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/rooms/MessageComposerInput.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export default class MessageComposerInput extends React.Component {
150150
console.error(contentHTML);
151151
if (contentHTML) {
152152
const content = HTMLtoContentState(contentHTML);
153-
component.setState({editorState: EditorState.createWithContent(content, getScopedDecorator(this.props))});
153+
component.setState({editorState: EditorState.createWithContent(content, getScopedDecorator(component.props))});
154154
component.resizeInput();
155155
}
156156
}

0 commit comments

Comments
 (0)