Merge pull request #1303 from matrix-org/luke/fix-autocomplete-by-mxid

Allow autocompletion when typing user IDs
pull/21833/head
Luke Barnard 2017-08-15 17:32:03 +01:00 committed by GitHub
commit 063cbcfc73
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export default class UserProvider extends AutocompleteProvider {
keys: ['name'],
});
this.matcher = new FuzzyMatcher([], {
keys: ['name'],
keys: ['name', 'userId'],
shouldMatchPrefix: true,
});
}