Updated home_feed.rb as_home_timeline to include max_id
• Updated: - home_feed.rb as_home_timeline to include max_id - if no max_id (its the initial page load) then query only between now - 60 days - else, dont add the date restraint
This commit is contained in:
@@ -18,7 +18,7 @@ class HomeFeed < Feed
|
||||
private
|
||||
|
||||
def from_database(limit, max_id, since_id, min_id)
|
||||
Status.as_home_timeline(@account)
|
||||
Status.as_home_timeline(@account, max_id)
|
||||
.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
|
||||
|
||||
Reference in New Issue
Block a user