diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-11-06 00:44:37 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-11-06 00:44:37 -0600 |
commit | facde93c4df94be5d2eafd1d79f17e111a9e9e76 (patch) | |
tree | cfecca217546f38c8d2f7b32e9fe76815cafac20 /app/services | |
parent | 0db4b0b9d550b22f531cc427ddc2dcd68b0a9ae1 (diff) |
clear formatter cache when profile is changed
Diffstat (limited to 'app/services')
-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 |