commit: 6ef8e1776dc6b797daec923a365ae367d8279452
parent 5717256ebab1a8927e9e5889aa4629148aa39fb6
Author: marcin mikołajczak <me@mkljczk.pl>
Date: Fri, 2 Jul 2021 13:03:41 +0000
fix the fucking list timelines on mastofe/soapbox-fe
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex b/lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex
@@ -193,7 +193,9 @@ defmodule Pleroma.Web.MastodonAPI.TimelineController do
|> ActivityPub.fetch_activities_bounded(following, params)
|> Enum.reverse()
- render(conn, "index.json",
+ conn
+ |> add_link_headers(activities)
+ |> render("index.json",
activities: activities,
for: user,
as: :activity,