mirror of https://github.com/vector-im/riot-web
Merge pull request #1303 from matrix-org/luke/fix-autocomplete-by-mxid
Allow autocompletion when typing user IDspull/21833/head
commit
063cbcfc73
|
@ -40,7 +40,7 @@ export default class UserProvider extends AutocompleteProvider {
|
||||||
keys: ['name'],
|
keys: ['name'],
|
||||||
});
|
});
|
||||||
this.matcher = new FuzzyMatcher([], {
|
this.matcher = new FuzzyMatcher([], {
|
||||||
keys: ['name'],
|
keys: ['name', 'userId'],
|
||||||
shouldMatchPrefix: true,
|
shouldMatchPrefix: true,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue