formatting
This commit is contained in:
parent
6bc9a641ba
commit
849c83ed46
@ -103,7 +103,14 @@ defmodule Pleroma.Web.CommonAPI do
|
|||||||
attachments,
|
attachments,
|
||||||
tags,
|
tags,
|
||||||
get_content_type(data["content_type"]),
|
get_content_type(data["content_type"]),
|
||||||
Enum.member?([true, "true"], Map.get(data, "no_attachment_links", Pleroma.Config.get([:instance, :no_attachment_links], false)))
|
Enum.member?(
|
||||||
|
[true, "true"],
|
||||||
|
Map.get(
|
||||||
|
data,
|
||||||
|
"no_attachment_links",
|
||||||
|
Pleroma.Config.get([:instance, :no_attachment_links], false)
|
||||||
|
)
|
||||||
|
)
|
||||||
),
|
),
|
||||||
context <- make_context(inReplyTo),
|
context <- make_context(inReplyTo),
|
||||||
cw <- data["spoiler_text"],
|
cw <- data["spoiler_text"],
|
||||||
|
Loading…
Reference in New Issue
Block a user