diff options
Diffstat (limited to 'app/services/activitypub/process_account_service.rb')
-rw-r--r-- | app/services/activitypub/process_account_service.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/activitypub/process_account_service.rb b/app/services/activitypub/process_account_service.rb index a1d508405..21f326988 100644 --- a/app/services/activitypub/process_account_service.rb +++ b/app/services/activitypub/process_account_service.rb @@ -68,6 +68,8 @@ class ActivityPub::ProcessAccountService < BaseService set_immediate_attributes! set_fetchable_attributes! unless @options[:only_keys] + Rails.cache.delete("formatted_account:#{@account.id}") + @account.save_with_optional_media! end |