summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcin mikołajczak <me@mkljczk.pl>2021-07-02 13:03:41 +0000
committermarcin mikołajczak <me@mkljczk.pl>2021-07-02 13:03:41 +0000
commit6ef8e1776dc6b797daec923a365ae367d8279452 (patch)
tree728c8ef4b269d7413736ba205790893f5eab8ac8
parent5717256ebab1a8927e9e5889aa4629148aa39fb6 (diff)
fix the fucking list timelines on mastofe/soapbox-fe
-rw-r--r--lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex b/lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex
index 4b49b74ca..10c279893 100644
--- 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,