mix format

This commit is contained in:
FloatingGhost 2022-12-09 10:24:38 +00:00
parent 9addd8f414
commit 0eaec57d3f
2 changed files with 9 additions and 2 deletions

View file

@ -1295,7 +1295,13 @@ config :pleroma, :config_description, [
label: "Post Content Type", label: "Post Content Type",
type: {:dropdown, :atom}, type: {:dropdown, :atom},
description: "Default post formatting option", 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, key: :redirectRootNoLogin,

View file

@ -209,7 +209,8 @@ defmodule Pleroma.Web.StaticFE.StaticFEController do
} }
end 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) in_reply_to_activity = Activity.get_in_reply_to_activity(activity)
if in_reply_to_activity do if in_reply_to_activity do