Skip to content
Snippets Groups Projects
Commit 68f483ef authored by kaniini's avatar kaniini
Browse files

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
parents 1cd82551 be70272a
Branches
No related tags found
No related merge requests found
......@@ -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"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment