mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-23 15:38:10 +00:00
MastoAPI: no more than 4 attachments.
This commit is contained in:
parent
3d29fc5462
commit
fa19de97ba
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
|||
sensitive: sensitive,
|
||||
spoiler_text: object["summary"] || "",
|
||||
visibility: "public",
|
||||
media_attachments: attachments,
|
||||
media_attachments: attachments |> Enum.take(4),
|
||||
mentions: mentions,
|
||||
tags: [], # fix,
|
||||
application: %{
|
||||
|
|
Loading…
Reference in a new issue