Commit 31de5a0a authored by mgabdev's avatar mgabdev

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
parent 8d092d42
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment