This commit is contained in:
mgabdev 2020-05-22 17:17:56 -04:00
parent 8b020cf47f
commit cc50b4f8d1

View File

@ -342,7 +342,7 @@ class Status < ApplicationRecord
end end
def as_public_timeline(account = nil, local_only = false) def as_public_timeline(account = nil, local_only = false)
query = timeline_scope(local_only).without_replies.where('statuses.updated_at > ?', 5.days.ago) query = timeline_scope(local_only).without_replies
apply_timeline_filters(query, account, local_only) apply_timeline_filters(query, account, local_only)
end end