fix the fucking list timelines on mastofe/soapbox-fe

This commit is contained in:
marcin mikołajczak 2021-07-02 13:03:41 +00:00
parent 5717256eba
commit 6ef8e1776d
1 changed files with 3 additions and 1 deletions

View File

@ -193,7 +193,9 @@ def list(%{assigns: %{user: user}} = conn, %{list_id: id} = params) do
|> ActivityPub.fetch_activities_bounded(following, params) |> ActivityPub.fetch_activities_bounded(following, params)
|> Enum.reverse() |> Enum.reverse()
render(conn, "index.json", conn
|> add_link_headers(activities)
|> render("index.json",
activities: activities, activities: activities,
for: user, for: user,
as: :activity, as: :activity,