favourites add bookmark display

This commit is contained in:
Alex S 2019-04-14 21:42:18 +07:00
parent 324c9c8ab5
commit 1258128f4f

View File

@ -1093,6 +1093,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
ActivityPub.fetch_activities([], params)
|> Enum.reverse()
user = Repo.preload(user, :bookmarks)
conn
|> add_link_headers(:favourites, activities)
|> put_view(StatusView)