about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/services/purge_domain_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/purge_domain_service.rb b/app/services/purge_domain_service.rb
index e10a8f0c8..9df81f13e 100644
--- a/app/services/purge_domain_service.rb
+++ b/app/services/purge_domain_service.rb
@@ -5,6 +5,7 @@ class PurgeDomainService < BaseService
     Account.remote.where(domain: domain).reorder(nil).find_each do |account|
       DeleteAccountService.new.call(account, reserve_username: false, skip_side_effects: true)
     end
+    CustomEmoji.remote.where(domain: domain).reorder(nil).find_each(&:destroy)
     Instance.refresh
   end
 end