about summary refs log tree commit diff
path: root/app/services/process_interaction_service.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-16 21:20:50 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-16 21:20:50 +0100
commitd0229754442dc824dc38bf99344052b3931998f8 (patch)
treef557690dbfd221e975382106da3f3d8a9b078f5c /app/services/process_interaction_service.rb
parent086d4871451a0d609f539235e9b3da87279f5008 (diff)
Fixing small bug with FollowRemoteAccountService usage
Diffstat (limited to 'app/services/process_interaction_service.rb')
-rw-r--r--app/services/process_interaction_service.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/services/process_interaction_service.rb b/app/services/process_interaction_service.rb
index 877647bbe..43c8ca4fd 100644
--- a/app/services/process_interaction_service.rb
+++ b/app/services/process_interaction_service.rb
@@ -14,15 +14,13 @@ class ProcessInteractionService < BaseService
     account  = Account.find_by(username: username, domain: domain)
 
     if account.nil?
-      account = follow_remote_account_service.("acct:#{username}@#{domain}", false)
+      account = follow_remote_account_service.("#{username}@#{domain}", false)
       return if account.nil?
     end
 
     if salmon.verify(envelope, account.keypair)
       update_remote_profile_service.(xml.at_xpath('/xmlns:entry/xmlns:author'), account)
 
-      binding.pry
-
       case verb(xml)
       when :follow
         follow!(account, target_account)