|
@ -96,7 +96,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? || 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 |
|
|
end |
|
|
|
|
|
|
|
|
def calculate_scores(statuses, at_time) |
|
|
def calculate_scores(statuses, at_time) |
|
|