favourites add bookmark display
This commit is contained in:
parent
324c9c8ab5
commit
1258128f4f
|
@ -1093,6 +1093,8 @@ def favourites(%{assigns: %{user: user}} = conn, params) do
|
|||
ActivityPub.fetch_activities([], params)
|
||||
|> Enum.reverse()
|
||||
|
||||
user = Repo.preload(user, :bookmarks)
|
||||
|
||||
conn
|
||||
|> add_link_headers(:favourites, activities)
|
||||
|> put_view(StatusView)
|
||||
|
|
Loading…
Reference in a new issue