diff options
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/search_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/search_service.rb b/app/services/search_service.rb index 04de8a134..6f740e149 100644 --- a/app/services/search_service.rb +++ b/app/services/search_service.rb @@ -5,6 +5,7 @@ class SearchService < BaseService return if query.blank? || query.start_with?('#') username, domain = query.gsub(/\A@/, '').split('@') + domain = nil if TagManager.instance.local_domain?(domain) if domain.nil? exact_match = Account.find_local(username) |