diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-19 01:51:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-19 01:51:04 +0200 |
commit | f3be6052867343ab15cc84bc91edcaf0c1d70115 (patch) | |
tree | 2bddc48a4cf35a0684c74b22a0f78f7031b8a4b2 /app/workers | |
parent | aebebdc5d1967e2110a9caafc3238c8b8ec055c4 (diff) |
Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
Rename Activitypub to ActivityPub
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/import_worker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/import_worker.rb b/app/workers/import_worker.rb index e93fa33cf..90a226206 100644 --- a/app/workers/import_worker.rb +++ b/app/workers/import_worker.rb @@ -41,7 +41,7 @@ class ImportWorker def process_mutes import_rows.each do |row| begin - target_account = FollowRemoteAccountService.new.call(row.first) + target_account = ResolveRemoteAccountService.new.call(row.first) next if target_account.nil? MuteService.new.call(from_account, target_account) rescue Goldfinger::Error, HTTP::Error, OpenSSL::SSL::SSLError @@ -53,7 +53,7 @@ class ImportWorker def process_blocks import_rows.each do |row| begin - target_account = FollowRemoteAccountService.new.call(row.first) + target_account = ResolveRemoteAccountService.new.call(row.first) next if target_account.nil? BlockService.new.call(from_account, target_account) rescue Goldfinger::Error, HTTP::Error, OpenSSL::SSL::SSLError |