diff --git a/app/models/status.rb b/app/models/status.rb index 0e3d355f..8dca56ec 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -302,7 +302,7 @@ class Status < ApplicationRecord end def as_home_timeline(account) - query = where('updated_at > ?', 30.days.ago) + query = where('updated_at > ?', 5.days.ago) query.where(visibility: [:public, :unlisted, :private]) query.where(account: [account] + account.following).without_replies end