Formatting

This commit is contained in:
Mark Felder 2024-08-24 20:03:50 -04:00
parent 7bcc21ad6f
commit 06deacd58e

View file

@ -565,9 +565,11 @@ def pinned(conn, %{"nickname" => nickname}) do
end
end
defp unknown_delete?(%{
"type" => "Delete",
} = data) do
defp unknown_delete?(
%{
"type" => "Delete"
} = data
) do
case data |> Pleroma.Object.Containment.get_actor() |> User.get_cached_by_ap_id() do
%User{} -> false
_ -> true