mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-02-09 07:42:27 +00:00
Merge branch 'fix/mastoapi-attachment-count' into 'develop'
MastoAPI: no more than 4 attachments. See merge request pleroma/pleroma!28
This commit is contained in:
commit
9b35a4e850
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
||||||
sensitive: sensitive,
|
sensitive: sensitive,
|
||||||
spoiler_text: object["summary"] || "",
|
spoiler_text: object["summary"] || "",
|
||||||
visibility: "public",
|
visibility: "public",
|
||||||
media_attachments: attachments,
|
media_attachments: attachments |> Enum.take(4),
|
||||||
mentions: mentions,
|
mentions: mentions,
|
||||||
tags: [], # fix,
|
tags: [], # fix,
|
||||||
application: %{
|
application: %{
|
||||||
|
|
Loading…
Reference in a new issue