1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-19 00:58:21 +09:00

Merge pull request #1218 from R0ckweb/patch-2

Fix #1141 on remote follow
This commit is contained in:
Eugen 2017-04-08 11:37:13 +02:00 committed by GitHub
commit 33849acfa7

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