diff options
author | marcin mikołajczak <me@mkljczk.pl> | 2021-07-02 13:03:41 +0000 |
---|---|---|
committer | marcin mikołajczak <me@mkljczk.pl> | 2021-07-02 13:03:41 +0000 |
commit | 6ef8e1776dc6b797daec923a365ae367d8279452 (patch) | |
tree | 728c8ef4b269d7413736ba205790893f5eab8ac8 /lib | |
parent | 5717256ebab1a8927e9e5889aa4629148aa39fb6 (diff) |
fix the fucking list timelines on mastofe/soapbox-fe
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex | 4 |
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, |