mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-10 22:14:35 -04:00
Merge pull request #3540 from noamraph/autocomplete_non_latin_display_names
Don't limit @mention autocomplete to latin characters
This commit is contained in:
commit
b779591846
1 changed files with 0 additions and 5 deletions
|
@ -88,11 +88,6 @@ export default function userSearch(options) {
|
|||
currentTerm = term;
|
||||
|
||||
return new Ember.RSVP.Promise(function(resolve) {
|
||||
// TODO site setting for allowed regex in username
|
||||
if (term.match(/[^a-zA-Z0-9_\.]/)) {
|
||||
resolve([]);
|
||||
return;
|
||||
}
|
||||
if (((new Date() - cacheTime) > 30000) || (cacheTopicId !== topicId)) {
|
||||
cache = {};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue