commit: 33849acfa77166f118e0de66c0c426953419b690
parent: c141f0a886c03ff1edf99e36c6d50c4bbdf10418
Author: Eugen <eugen@zeonfederated.com>
Date: Sat, 8 Apr 2017 11:37:13 +0200
Merge pull request #1218 from R0ckweb/patch-2
Fix #1141 on remote follow
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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