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
stable
kaniini 6 years ago
commit 68f483ef4c

@ -102,7 +102,7 @@ defmodule Pleroma.Web.CommonAPI do
attachments, attachments,
tags, tags,
get_content_type(data["content_type"]), get_content_type(data["content_type"]),
data["no_attachment_links"] Enum.member?([true, "true"], data["no_attachment_links"])
), ),
context <- make_context(inReplyTo), context <- make_context(inReplyTo),
cw <- data["spoiler_text"], cw <- data["spoiler_text"],

Loading…
Cancel
Save