Changed home timeline to be last 5 days instead of 30
This commit is contained in:
parent
62515bbaee
commit
b75e34253c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue