Remove a limit on attachments in Mastodon API and document the changes in responses from vanilla mastodon

This commit is contained in:
rinpatch 2019-02-16 20:38:25 +03:00
commit 96c725328b
2 changed files with 10 additions and 1 deletions

View file

@ -166,7 +166,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
sensitive: sensitive,
spoiler_text: object["summary"] || "",
visibility: get_visibility(object),
media_attachments: attachments |> Enum.take(4),
media_attachments: attachments,
mentions: mentions,
tags: build_tags(tags),
application: %{