about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-04-08 11:37:13 +0200
committerGitHub <noreply@github.com>2017-04-08 11:37:13 +0200
commit33849acfa77166f118e0de66c0c426953419b690 (patch)
treec7b6f95852ba1328c93967bc51b83a066ffd30e6
parentc141f0a886c03ff1edf99e36c6d50c4bbdf10418 (diff)
parent1e4453405be08be5f1aa8e650780b273d2e36787 (diff)
Merge pull request #1218 from R0ckweb/patch-2
Fix #1141 on remote follow
-rw-r--r--app/services/follow_remote_account_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/follow_remote_account_service.rb b/app/services/follow_remote_account_service.rb
index a008d7db5..443c9c701 100644
--- a/app/services/follow_remote_account_service.rb
+++ b/app/services/follow_remote_account_service.rb
@@ -50,8 +50,8 @@ class FollowRemoteAccountService < BaseService
     account.uri     = get_account_uri(xml)
     account.hub_url = hubs.first.attribute('href').value
 
-    get_profile(body, account)
     account.save!
+    get_profile(body, account)
 
     account
   end