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-11-26 15:12:57 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-26 15:18:21 +0100
commit2cb3dc5e5a1320efda89b258048e7bc3542a5744 (patch)
treee26a98c30def78ac9caab7b63c658b1f86c969b9 /app/services/process_interaction_service.rb
parent4986c727d96b171d439351b0236fae7dbe86b695 (diff)
Update hub URL and re-subscribe if hub URL changes
Diffstat (limited to 'app/services/process_interaction_service.rb')
-rw-r--r--app/services/process_interaction_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/process_interaction_service.rb b/app/services/process_interaction_service.rb
index e7bb3c73b..3159a4ded 100644
--- a/app/services/process_interaction_service.rb
+++ b/app/services/process_interaction_service.rb
@@ -26,7 +26,7 @@ class ProcessInteractionService < BaseService
     end
 
     if salmon.verify(envelope, account.keypair)
-      update_remote_profile_service.call(xml.at_xpath('/xmlns:entry/xmlns:author'), account)
+      update_remote_profile_service.call(xml.at_xpath('/xmlns:entry'), account, true)
 
       case verb(xml)
       when :follow