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
This commit is contained in:
parent
78c8100768
commit
08a09ccc4f
@ -27,8 +27,9 @@ class Api::V1::Timelines::HomeController < Api::BaseController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def home_statuses
|
def home_statuses
|
||||||
|
theLimit = params[:max_id].nil? ? 10 : limit_param(DEFAULT_STATUSES_LIMIT)
|
||||||
account_home_feed.get(
|
account_home_feed.get(
|
||||||
limit_param(DEFAULT_STATUSES_LIMIT),
|
theLimit,
|
||||||
params[:max_id],
|
params[:max_id],
|
||||||
params[:since_id],
|
params[:since_id],
|
||||||
params[:min_id]
|
params[:min_id]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user