Updated home_feed.rb as_home_timeline to be date restricted

• Updated:
- home_feed.rb as_home_timeline to be date restricted to only 45 days
This commit is contained in:
mgabdev
2020-05-22 00:40:31 -04:00
parent dce7eb575b
commit 72df048f84
2 changed files with 3 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ class HomeFeed < Feed
private
def from_database(limit, max_id, since_id, min_id)
Status.as_home_timeline(@account, max_id)
Status.as_home_timeline(@account)
.paginate_by_id(limit, max_id: max_id, since_id: since_id, min_id: min_id)
.reject { |status| FeedManager.instance.filter?(:home, status, @account.id) }
end