mix format
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Fri, 9 Dec 2022 10:24:38 +0000 (10:24 +0000)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Fri, 9 Dec 2022 10:24:38 +0000 (10:24 +0000)
config/description.exs
lib/pleroma/web/static_fe/static_fe_controller.ex

index a73d2a06ba460642609b73b58f1eb196ff268661..a6b7231d0f00da67f69ec32910ad289742cb53ce 100644 (file)
@@ -1295,7 +1295,13 @@ config :pleroma, :config_description, [
             label: "Post Content Type",
             type: {:dropdown, :atom},
             description: "Default post formatting option",
-            suggestions: ["text/plain", "text/html", "text/markdown", "text/bbcode", "text/x.misskeymarkdown"]
+            suggestions: [
+              "text/plain",
+              "text/html",
+              "text/markdown",
+              "text/bbcode",
+              "text/x.misskeymarkdown"
+            ]
           },
           %{
             key: :redirectRootNoLogin,
index 0a4327a563930e9209219c94968b76c00fcbfab6..8e454f7a07754493e02a7e9e10476fb7b0b7f1fa 100644 (file)
@@ -209,7 +209,8 @@ defmodule Pleroma.Web.StaticFE.StaticFEController do
     }
   end
 
-  defp in_reply_to_user(%Activity{object: %Object{data: %{"inReplyTo" => inReplyTo}}} = activity) when is_binary(inReplyTo) do
+  defp in_reply_to_user(%Activity{object: %Object{data: %{"inReplyTo" => inReplyTo}}} = activity)
+       when is_binary(inReplyTo) do
     in_reply_to_activity = Activity.get_in_reply_to_activity(activity)
 
     if in_reply_to_activity do