Updated home timeline in Status.rb to find from max 3 days ago
• Updated: - home timeline in Status.rb to find from max 3 days ago
This commit is contained in:
@@ -290,7 +290,7 @@ class Status < ApplicationRecord
|
|||||||
end
|
end
|
||||||
|
|
||||||
def as_home_timeline(account)
|
def as_home_timeline(account)
|
||||||
query = where('created_at > ?', 5.days.ago)
|
query = where('created_at > ?', 3.days.ago)
|
||||||
query.where(account: [account] + account.following).without_replies
|
query.where(account: [account] + account.following).without_replies
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user