mix format

This commit is contained in:
FloatingGhost 2022-12-09 10:24:38 +00:00 committed by Sam Therapy
parent 2c5c2f7703
commit c94de02faf
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 9 additions and 2 deletions

View file

@ -1324,7 +1324,13 @@
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,

View file

@ -209,7 +209,8 @@ defp represent(%Activity{object: %Object{data: data}} = activity, selected) 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