mirror of
https://github.com/mastodon/mastodon.git
synced 2026-08-21 18:24:50 -05:00
Add since_id param to feeds
This commit is contained in:
@@ -45,10 +45,10 @@ class Api::V1::StatusesController < ApiController
|
||||
end
|
||||
|
||||
def home
|
||||
@statuses = Feed.new(:home, current_user.account).get(20, params[:max_id]).to_a
|
||||
@statuses = Feed.new(:home, current_user.account).get(20, params[:max_id], params[:since_id]).to_a
|
||||
end
|
||||
|
||||
def mentions
|
||||
@statuses = Feed.new(:mentions, current_user.account).get(20, params[:max_id]).to_a
|
||||
@statuses = Feed.new(:mentions, current_user.account).get(20, params[:max_id], params[:since_id]).to_a
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user