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

Allow autocompletion when typing user IDs
This commit is contained in:
Luke Barnard 2017-08-15 17:32:03 +01:00 committed by GitHub
commit 063cbcfc73

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,
});
}