From 31de5a0a2d38fcdb42516dd8a287f7cc3ddf091d Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Mon, 11 Jan 2021 03:29:07 -0500 Subject: [PATCH] Updated home timeline in Status.rb to find from max 3 days ago MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - home timeline in Status.rb to find from max 3 days ago --- app/models/status.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/status.rb b/app/models/status.rb index 86e1693a..195e600f 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -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