diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-12-01 10:15:05 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-12-01 10:15:05 -0600 |
commit | 59b8f3b6a3c544985432fbc2712feb8eb0c2e6f5 (patch) | |
tree | 3462c1e7463102468ad3ef3ccb6358940f2791b9 /app/models | |
parent | 3bef7b280fc3a1b27359a855250c765699a6c586 (diff) |
correctly detect domain policy changes
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/domain_block.rb | 1 |
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 |