Commit 3bfbfbf3 authored by mgabdev's avatar mgabdev

Updated home_feed.rb as_home_timeline date restriction again

• Updated:
- home_feed.rb as_home_timeline date restriction again
parent 72df048f
......@@ -291,9 +291,9 @@ class Status < ApplicationRecord
end
def as_home_timeline(account)
query = where(account: [account] + account.following).without_replies
query = where('updated_at > ?', 30.days.ago)
query.where(visibility: [:public, :unlisted, :private])
query.where('updated_at > ?', 45.days.ago)
query.where(account: [account] + account.following).without_replies
end
def as_group_timeline(group)
......
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