logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 68f483ef4cf6856c3116504987142670bc6ac76c
parent: 1cd825519c34762490fa44e7aa0cccf2a72826b6
Author: kaniini <nenolod@gmail.com>
Date:   Fri, 28 Dec 2018 18:33:14 +0000

Merge branch 'fix/no-attachment-links' into 'develop'

Treat any present value in "no_attachment_links" as true

Closes pleroma-fe#175

See merge request pleroma/pleroma!597

Diffstat:

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

diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex @@ -102,7 +102,7 @@ defmodule Pleroma.Web.CommonAPI do attachments, tags, get_content_type(data["content_type"]), - data["no_attachment_links"] + Enum.member?([true, "true"], data["no_attachment_links"]) ), context <- make_context(inReplyTo), cw <- data["spoiler_text"],