about summary refs log tree commit diff
path: root/app/models/form
diff options
context:
space:
mode:
authorReverite <github@reverite.sh>2019-05-11 18:06:12 -0700
committerReverite <github@reverite.sh>2019-05-11 18:06:12 -0700
commitcdb159f27e2aeb2cf3bb184ac20b7056b013f714 (patch)
tree01a185cccbaedb031eaf592706349907dc6decd4 /app/models/form
parentb403052b6759c8a87fc8e20304c0c31c05412313 (diff)
parentf6838a28f64a2e1a955d7062d8b4270312df802f (diff)
Merge branch 'glitch' into production
Diffstat (limited to 'app/models/form')
-rw-r--r--app/models/form/status_batch.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/form/status_batch.rb b/app/models/form/status_batch.rb
index 898728067..933dfdaca 100644
--- a/app/models/form/status_batch.rb
+++ b/app/models/form/status_batch.rb
@@ -35,6 +35,7 @@ class Form::StatusBatch
   def delete_statuses
     Status.where(id: status_ids).reorder(nil).find_each do |status|
       RemovalWorker.perform_async(status.id)
+      Tombstone.find_or_create_by(uri: status.uri, account: status.account, by_moderator: true)
       log_action :destroy, status
     end