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:
parent
8d092d427f
commit
31de5a0a2d
|
@ -290,7 +290,7 @@ class Status < ApplicationRecord
|
|||
end
|
||||
|
||||
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
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue