projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
207489a
)
Default to disabled in the code in case the setting is absent from config.exs
author
Mark Felder
<feld@FreeBSD.org>
Thu, 17 Jan 2019 16:01:25 +0000
(16:01 +0000)
committer
Mark Felder
<feld@FreeBSD.org>
Thu, 17 Jan 2019 16:01:25 +0000
(16:01 +0000)
lib/pleroma/web/common_api/common_api.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/common_api/common_api.ex
b/lib/pleroma/web/common_api/common_api.ex
index 7d2ac3b0f25f2feef6277ec3e454856645058ee7..782e7da8f69912ded9b12631f83bc088daa5e601 100644
(file)
--- a/
lib/pleroma/web/common_api/common_api.ex
+++ b/
lib/pleroma/web/common_api/common_api.ex
@@
-103,7
+103,7
@@
defmodule Pleroma.Web.CommonAPI do
attachments,
tags,
get_content_type(data["content_type"]),
- Enum.member?([true, "true"], Map.get(data, "no_attachment_links", Pleroma.Config.get([:instance, :no_attachment_links],
tru
e)))
+ Enum.member?([true, "true"], Map.get(data, "no_attachment_links", Pleroma.Config.get([:instance, :no_attachment_links],
fals
e)))
),
context <- make_context(inReplyTo),
cw <- data["spoiler_text"],