mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 00:09:35 +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
|
@ -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