diff options
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/block_domain_service.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/services/block_domain_service.rb b/app/services/block_domain_service.rb index 5d13cfc0e..d15a1e83c 100644 --- a/app/services/block_domain_service.rb +++ b/app/services/block_domain_service.rb @@ -39,12 +39,15 @@ class BlockDomainService < BaseService blocked_domain_accounts.find_each do |account| account.avatar.destroy account.header.destroy + account.save end end def clear_account_attachments media_from_blocked_domain.find_each do |attachment| attachment.file.destroy + attachment.type = :unknown + attachment.save end end |