0
0
Fork 0

Rename ResolveRemoteAccountService to ResolveAccountService (#6327)

The service used to be named ResolveRemoteAccountService resolves local
accounts as well.
This commit is contained in:
Akihiko Odaki 2018-01-22 22:25:09 +09:00 committed by Eugen Rochko
parent 17cecd75ca
commit 613e7c7521
17 changed files with 26 additions and 26 deletions

View file

@ -18,7 +18,7 @@ class AccountSearchService < BaseService
return [] if query_blank_or_hashtag? || limit < 1
if resolving_non_matching_remote_account?
[ResolveRemoteAccountService.new.call("#{query_username}@#{query_domain}")].compact
[ResolveAccountService.new.call("#{query_username}@#{query_domain}")].compact
else
search_results_and_exact_match.compact.uniq.slice(0, limit)
end