From abbb69dc3666997ec138a77677c052beb200be5e Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 10 Jul 2018 17:35:13 +0100 Subject: [PATCH] fix fn call, fixes usage of SlashCommands Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/rooms/MessageComposerInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/MessageComposerInput.js b/src/components/views/rooms/MessageComposerInput.js index fe2cf585ea..e7fbbae8a8 100644 --- a/src/components/views/rooms/MessageComposerInput.js +++ b/src/components/views/rooms/MessageComposerInput.js @@ -988,7 +988,7 @@ export default class MessageComposerInput extends React.Component { firstGrandChild.text[0] === '/') { commandText = this.plainWithIdPills.serialize(editorState); - cmd = SlashCommands.processInput(this.props.room.roomId, commandText); + cmd = processCommandInput(this.props.room.roomId, commandText); } if (cmd) {