about summary refs log tree commit diff
path: root/app/models/report.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/report.rb')
-rw-r--r--app/models/report.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/report.rb b/app/models/report.rb
index 07389ef63..aaf5b5407 100644
--- a/app/models/report.rb
+++ b/app/models/report.rb
@@ -56,6 +56,7 @@ class Report < ApplicationRecord
   end
 
   def resolve!(acting_account)
+    RemovalWorker.push_bulk(Status.with_discarded.discarded.where(id: status_ids).pluck(:id)) { |status_id| [status_id, { immediate: true }] }
     update!(action_taken: true, action_taken_by_account_id: acting_account.id)
   end