This commit is contained in:
Hakaba Hitoyo 2018-05-26 14:10:12 +09:00
parent 9c7da2ef48
commit e90b734f1c

View file

@ -108,7 +108,7 @@ def render("outbox.json", %{user: user, max_id: max_qid}) do
params params
end end
activities = ActivityPub.fetch_public_activities(user, nil, params) activities = ActivityPub.fetch_user_activities(user, nil, params)
min_id = Enum.at(Enum.reverse(activities), 0).id min_id = Enum.at(Enum.reverse(activities), 0).id
max_id = Enum.at(activities, 0).id max_id = Enum.at(activities, 0).id