Formatting
This commit is contained in:
parent
7bcc21ad6f
commit
06deacd58e
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue