Commit 08a09ccc authored by mgabdev's avatar mgabdev

Updated home_timeline default status limit on initial load

• Updated:
- home_timeline default status limit on initial load to 10, all other times limit is 20
parent 78c81007
......@@ -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]
......
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