diff --git a/app/controllers/api/v1/timelines/home_controller.rb b/app/controllers/api/v1/timelines/home_controller.rb index fcd0757f..3805af5e 100644 --- a/app/controllers/api/v1/timelines/home_controller.rb +++ b/app/controllers/api/v1/timelines/home_controller.rb @@ -27,8 +27,9 @@ class Api::V1::Timelines::HomeController < Api::BaseController end def home_statuses + theLimit = params[:max_id].nil? ? 10 : limit_param(DEFAULT_STATUSES_LIMIT) account_home_feed.get( - limit_param(DEFAULT_STATUSES_LIMIT), + theLimit, params[:max_id], params[:since_id], params[:min_id]