mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02: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