Przeglądaj źródła

fix the fucking list timelines on mastofe/soapbox-fe

merge-requests/3498/head
marcin mikołajczak 2 lat temu
rodzic
commit
6ef8e1776d
1 zmienionych plików z 3 dodań i 1 usunięć
  1. +3
    -1
      lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex

+ 3
- 1
lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex Wyświetl plik

@@ -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,


Ładowanie…
Anuluj
Zapisz