logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: f2c1bc2edc06c1e605cb57fa6a792213849e48f7
parent: 26701b1fc2b57683f0a644e4d2171e99ab38cc68
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 20 May 2018 17:35:14 +0200

lib/pleroma/web/mastodon_api/views/status_view.ex: More than 4 attachements

Diffstat:

Mlib/pleroma/web/mastodon_api/views/status_view.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -165,7 +165,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: %{