mirror of
https://github.com/mastodon/mastodon
synced 2024-12-18 16:48:22 +09:00
Merge pull request #1218 from R0ckweb/patch-2
Fix #1141 on remote follow
This commit is contained in:
commit
33849acfa7
@ -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…
Reference in New Issue
Block a user