formatting
authorMark Felder <feld@FreeBSD.org>
Thu, 17 Jan 2019 16:10:26 +0000 (16:10 +0000)
committerMark Felder <feld@FreeBSD.org>
Thu, 17 Jan 2019 16:10:26 +0000 (16:10 +0000)
lib/pleroma/web/common_api/common_api.ex

index 782e7da8f69912ded9b12631f83bc088daa5e601..5046704398cfe44ad2ed60c9a16087e56d043f44 100644 (file)
@@ -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"],