Fix posts from force-sensitized accounts being able to trend (#27620)

This commit is contained in:
Claire 2023-10-30 23:32:25 +01:00
parent d4e0a12b27
commit 16262f815d
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class Trends::Statuses < Trends::Base
private private
def eligible?(status) 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.account.sensitized? && status.spoiler_text.blank? && !status.sensitive? && !status.reply?
end end
def calculate_scores(statuses, at_time) def calculate_scores(statuses, at_time)