1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00
This commit is contained in:
Matthew Hodgson
2018-05-20 23:43:42 +01:00
parent b616fd025e
commit 4439a04689
4 changed files with 13 additions and 22 deletions

View File

@@ -132,8 +132,7 @@ export default class CommandProvider extends AutocompleteProvider {
let results;
if (command[0] == '/') {
results = COMMANDS;
}
else {
} else {
results = this.matcher.match(command[0]);
}
completions = results.map((result) => {