Updated as_pro_timeline to check for 2 hours ago
• Updated: - as_pro_timeline to check for 2 hours ago
This commit is contained in:
parent
22c0957752
commit
2f2e1a13d0
@ -342,7 +342,7 @@ class Status < ApplicationRecord
|
|||||||
end
|
end
|
||||||
|
|
||||||
def as_pro_timeline(account = nil)
|
def as_pro_timeline(account = nil)
|
||||||
query = timeline_scope.without_replies.popular_accounts.where('statuses.created_at > ?', 2.days.ago)
|
query = timeline_scope.without_replies.popular_accounts.where('statuses.created_at > ?', 2.hours.ago)
|
||||||
apply_timeline_filters(query, account)
|
apply_timeline_filters(query, account)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user