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
This commit is contained in:
commit
68f483ef4c
@ -102,7 +102,7 @@ def post(user, %{"status" => status} = data) 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…
Reference in New Issue
Block a user