From: Alex S Date: Sun, 14 Apr 2019 14:42:18 +0000 (+0700) Subject: favourites add bookmark display X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=1258128f4fede8122a3950051e52595e36ab0511;p=akkoma favourites add bookmark display --- diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index a93aa6ad5..4f8af32c3 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -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)