about summary refs log tree commit diff
path: root/app/models/admin
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-01-28 09:38:44 +0100
committerGitHub <noreply@github.com>2022-01-28 09:38:44 +0100
commit2ba6267f1603cee682bfe3885b797ad5df7e958f (patch)
tree60586262894c6aadf5722a53ce560c9b05c3e974 /app/models/admin
parent58930199379305e718d57b48488cc752b452e72a (diff)
parent94a39f6b68e236993fe5b89a697b17c8535f6ea0 (diff)
Merge pull request #1668 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/models/admin')
-rw-r--r--app/models/admin/status_batch_action.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/admin/status_batch_action.rb b/app/models/admin/status_batch_action.rb
index 319deff98..85822214b 100644
--- a/app/models/admin/status_batch_action.rb
+++ b/app/models/admin/status_batch_action.rb
@@ -56,7 +56,7 @@ class Admin::StatusBatchAction
     end
 
     UserMailer.warning(target_account.user, @warning).deliver_later! if target_account.local?
-    RemovalWorker.push_bulk(status_ids) { |status_id| [status_id, preserve: target_account.local?, immediate: !target_account.local?] }
+    RemovalWorker.push_bulk(status_ids) { |status_id| [status_id, { 'preserve' => target_account.local?, 'immediate' => !target_account.local? }] }
   end
 
   def handle_report!