Move account header and avatar methods to a concern (#2825)
This commit is contained in:
committed by
Eugen Rochko
parent
ee3e0a93f4
commit
4e05751346
@ -26,7 +26,7 @@ class UpdateRemoteProfileService < BaseService
|
||||
old_hub_url = account.hub_url
|
||||
account.hub_url = hub_link['href'] if !hub_link.nil? && !hub_link['href'].blank? && (hub_link['href'] != old_hub_url)
|
||||
|
||||
account.save_with_optional_avatar!
|
||||
account.save_with_optional_media!
|
||||
|
||||
Pubsubhubbub::SubscribeWorker.perform_async(account.id) if resubscribe && (account.hub_url != old_hub_url)
|
||||
end
|
||||
|
Reference in New Issue
Block a user