aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2019-01-17 16:10:26 +0000
committerMark Felder <feld@FreeBSD.org>2019-01-17 16:10:26 +0000
commit849c83ed464e8cbf57c727da8e7b4f8e7daf8fef (patch)
treeaf42f06a5044f3a062193358a22d86e2d390200c /lib
parent6bc9a641ba77146815f3bf6dddab751c1cce1637 (diff)
downloadpleroma-849c83ed464e8cbf57c727da8e7b4f8e7daf8fef.tar.gz
formatting
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/common_api/common_api.ex9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex
index 782e7da8f..504670439 100644
--- a/lib/pleroma/web/common_api/common_api.ex
+++ b/lib/pleroma/web/common_api/common_api.ex
@@ -103,7 +103,14 @@ 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], false)))
+ Enum.member?(
+ [true, "true"],
+ Map.get(
+ data,
+ "no_attachment_links",
+ Pleroma.Config.get([:instance, :no_attachment_links], false)
+ )
+ )
),
context <- make_context(inReplyTo),
cw <- data["spoiler_text"],