mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Make user autocomplete query search beyond prefix
This commit is contained in:
parent
b68fabb44b
commit
377b6c8a05
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ export default class UserProvider extends AutocompleteProvider {
|
|||
this.matcher = new QueryMatcher([], {
|
||||
keys: ['name'],
|
||||
funcs: [obj => obj.userId.slice(1)], // index by user id minus the leading '@'
|
||||
shouldMatchPrefix: true,
|
||||
shouldMatchPrefix: false,
|
||||
shouldMatchWordsOnly: false,
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue