Updated account search and suggestions to be local only
• Updated: - account search and suggestions to be local only
This commit is contained in:
@@ -19,7 +19,7 @@ class AccountSearchService < BaseService
|
||||
return [] if query_blank_or_hashtag? || limit < 1
|
||||
|
||||
if resolving_non_matching_remote_account?
|
||||
[ResolveAccountService.new.call("#{query_username}@#{query_domain}")].compact
|
||||
return []
|
||||
else
|
||||
search_results_and_exact_match.compact.uniq.slice(0, limit)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user