about summary refs log tree commit diff
path: root/app/models/trends
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/trends')
-rw-r--r--app/models/trends/statuses.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/trends/statuses.rb b/app/models/trends/statuses.rb
index 777065d3e..1b9e9259a 100644
--- a/app/models/trends/statuses.rb
+++ b/app/models/trends/statuses.rb
@@ -75,7 +75,7 @@ class Trends::Statuses < Trends::Base
   private
 
   def eligible?(status)
-    status.public_visibility? && status.account.discoverable? && !status.account.silenced? && status.spoiler_text.blank? && !status.sensitive? && !status.reply?
+    status.public_visibility? && status.account.discoverable? && !status.account.silenced? && (status.spoiler_text.blank? || Setting.trending_status_cw) && !status.sensitive? && !status.reply?
   end
 
   def calculate_scores(statuses, at_time)