gearheads
/
mastodon
Archived
2
0
Fork 0

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

gh/dev^2
Claire 2023-10-30 23:32:25 +01:00
parent e6f4c91c5c
commit 81d7cfd544
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,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? && valid_locale?(status.language)
status.public_visibility? && status.account.discoverable? && !status.account.silenced? && !status.account.sensitized? && status.spoiler_text.blank? && !status.sensitive? && !status.reply? && valid_locale?(status.language)
end
def calculate_scores(statuses, at_time)