logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 742c98a4c80659b928f3c320c9820d709658bdd0
parent: 9fe82518a2553da30107ed9c6bfa3d7ebfba045f
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 @@ -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: %{