Browse Source

Merge pull request #1218 from R0ckweb/patch-2

Fix #1141 on remote follow
closed-social-glitch-2
Eugen 7 years ago
committed by GitHub
parent
commit
33849acfa7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/services/follow_remote_account_service.rb

+ 1
- 1
app/services/follow_remote_account_service.rb View File

@ -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