mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-24 02:02:19 +00:00
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 @@ 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"],
|
||||
|
|
Loading…
Reference in a new issue