From 953a520f38f6df474d2225c97368bb499fd127cc Mon Sep 17 00:00:00 2001 From: Anatoliy Sablin Date: Wed, 14 Mar 2018 00:33:19 +0300 Subject: [PATCH] Enable autocompletion for non-English languages. --- src/autocomplete/UserProvider.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/autocomplete/UserProvider.js b/src/autocomplete/UserProvider.js index bceec3f144..2706498d52 100644 --- a/src/autocomplete/UserProvider.js +++ b/src/autocomplete/UserProvider.js @@ -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);