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/services/follow_service.rb | |
parent | aebebdc5d1967e2110a9caafc3238c8b8ec055c4 (diff) |
Rename FollowRemoteAccountService to ResolveRemoteAccountService (#3847)
Rename Activitypub to ActivityPub
Diffstat (limited to 'app/services/follow_service.rb')
-rw-r--r-- | app/services/follow_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/follow_service.rb b/app/services/follow_service.rb index 4de75e98d..e54ff7d0f 100644 --- a/app/services/follow_service.rb +++ b/app/services/follow_service.rb @@ -7,7 +7,7 @@ class FollowService < BaseService # @param [Account] source_account From which to follow # @param [String] uri User URI to follow in the form of username@domain def call(source_account, uri) - target_account = FollowRemoteAccountService.new.call(uri) + target_account = ResolveRemoteAccountService.new.call(uri) raise ActiveRecord::RecordNotFound if target_account.nil? || target_account.id == source_account.id || target_account.suspended? raise Mastodon::NotPermittedError if target_account.blocking?(source_account) || source_account.blocking?(target_account) |