Merge pull request #1218 from R0ckweb/patch-2

Fix #1141 on remote follow
master
Eugen 8 years ago committed by GitHub
commit 33849acfa7
  1. 2
      app/services/follow_remote_account_service.rb

@ -50,8 +50,8 @@ class FollowRemoteAccountService < BaseService
account.uri = get_account_uri(xml) account.uri = get_account_uri(xml)
account.hub_url = hubs.first.attribute('href').value account.hub_url = hubs.first.attribute('href').value
get_profile(body, account)
account.save! account.save!
get_profile(body, account)
account account
end end

Loading…
Cancel
Save