mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
#1141 on remote follow
The async action is send before persist, account.id not yet generated Pull queue receive 'nil' so no profile update.
This commit is contained in:
parent
a872f2f4c6
commit
485d75a805
1 changed files with 1 additions and 1 deletions
|
@ -51,8 +51,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 a new issue