1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

slash got consumed in the consolidation

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2018-06-20 17:09:49 +01:00
parent 4dba23b81d
commit f5b12bd66a

View File

@@ -27,14 +27,14 @@ import SettingsStore, {SettingLevel} from './settings/SettingsStore';
class Command {
constructor({name, args='', description, runFn}) {
this.command = name;
this.command = '/' + name;
this.args = args;
this.description = description;
this.runFn = runFn;
}
getCommand() {
return "/" + this.command;
return this.command;
}
getCommandWithArgs() {