FIX: When deleting a user via queued posts, block urls, ip and email

FIX: When deleting a user via queued posts, block urls, ip and email

diff --git a/app/models/reviewable_queued_post.rb b/app/models/reviewable_queued_post.rb
index 2255452..e0fedce 100644
--- a/app/models/reviewable_queued_post.rb
+++ b/app/models/reviewable_queued_post.rb
@@ -123,6 +123,9 @@ class ReviewableQueuedPost < Reviewable
     delete_options = {
       context: I18n.t('reviewables.actions.delete_user.reason'),
       delete_posts: true,
+      block_urls: true,
+      block_email: true,
+      block_ip: true,
       delete_as_spammer: true
     }

GitHub sha: 03b41319

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there: