Browse Source

not check author discoverable for trend statuses

closed-social-glitch-2
欧醚 1 year ago
parent
commit
fd6c194b5d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/trends/statuses.rb

+ 1
- 1
app/models/trends/statuses.rb View File

@ -96,7 +96,7 @@ class Trends::Statuses < Trends::Base
private
def eligible?(status)
status.public_visibility? && status.account.discoverable? && !status.account.silenced? && (status.spoiler_text.blank? || Setting.trending_status_cw) && !status.sensitive? && !status.reply? && valid_locale?(status.language)
status.public_visibility? && !status.account.silenced? && (status.spoiler_text.blank? || Setting.trending_status_cw) && !status.sensitive? && !status.reply? && valid_locale?(status.language)
end
def calculate_scores(statuses, at_time)

Loading…
Cancel
Save