1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Enable autocompletion for non-English languages.

This commit is contained in:
Anatoliy Sablin
2018-03-14 00:33:19 +03:00
parent 59bb5ce9d8
commit 953a520f38

View File

@@ -44,6 +44,7 @@ export default class UserProvider extends AutocompleteProvider {
this.matcher = new FuzzyMatcher([], {
keys: ['name', 'userId'],
shouldMatchPrefix: true,
shouldMatchWordsOnly: false
});
this._onRoomTimelineBound = this._onRoomTimeline.bind(this);