From 4e057513466884050eb17b0d3c4b091852399ee4 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Fri, 5 May 2017 15:37:02 -0400 Subject: Move account header and avatar methods to a concern (#2825) --- app/services/update_remote_profile_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services/update_remote_profile_service.rb') diff --git a/app/services/update_remote_profile_service.rb b/app/services/update_remote_profile_service.rb index f0c39ecc0..6607bc84e 100644 --- a/app/services/update_remote_profile_service.rb +++ b/app/services/update_remote_profile_service.rb @@ -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 -- cgit