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
|
end
|
||||||
|
|
||||||
def as_home_timeline(account)
|
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(visibility: [:public, :unlisted, :private])
|
||||||
query.where(account: [account] + account.following).without_replies
|
query.where(account: [account] + account.following).without_replies
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user