mix format

This commit is contained in:
Alex Gleason 2024-03-12 15:52:33 -05:00 committed by b
parent fd83b86b99
commit 55612cb8ee

View file

@ -39,7 +39,8 @@ defmodule Pleroma.Web.ActivityPub.MRF.RemoteReportPolicy do
end end
defp maybe_reject_third_party(%{"object" => objects} = object) do defp maybe_reject_third_party(%{"object" => objects} = object) do
{_, to} = case objects do {_, to} =
case objects do
[head | tail] when is_binary(head) -> {tail, head} [head | tail] when is_binary(head) -> {tail, head}
s when is_binary(s) -> {[], s} s when is_binary(s) -> {[], s}
_ -> {[], ""} _ -> {[], ""}