about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-12-01 10:15:05 -0600
committermultiple creatures <dev@multiple-creature.party>2019-12-01 10:15:05 -0600
commit59b8f3b6a3c544985432fbc2712feb8eb0c2e6f5 (patch)
tree3462c1e7463102468ad3ef3ccb6358940f2791b9 /app/models
parent3bef7b280fc3a1b27359a855250c765699a6c586 (diff)
correctly detect domain policy changes
Diffstat (limited to 'app/models')
-rw-r--r--app/models/domain_block.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/domain_block.rb b/app/models/domain_block.rb
index 4bb35ef8d..9dd9a9085 100644
--- a/app/models/domain_block.rb
+++ b/app/models/domain_block.rb
@@ -70,6 +70,7 @@ class DomainBlock < ApplicationRecord
 
   def set_processing
     return if processing
+    return unless (changed & %w(severity suspended_at silenced_at force_sensitive reject_media reject_reports reject_unknown)).any?
     self.processing = true
   end
 end