1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

fix fn call, fixes usage of SlashCommands

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2018-07-10 17:35:13 +01:00
parent 100ecfe7ce
commit abbb69dc36

View File

@@ -988,7 +988,7 @@ export default class MessageComposerInput extends React.Component {
firstGrandChild.text[0] === '/') firstGrandChild.text[0] === '/')
{ {
commandText = this.plainWithIdPills.serialize(editorState); commandText = this.plainWithIdPills.serialize(editorState);
cmd = SlashCommands.processInput(this.props.room.roomId, commandText); cmd = processCommandInput(this.props.room.roomId, commandText);
} }
if (cmd) { if (cmd) {