logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 06deacd58e6aa676847530f24c6799162ed06777
parent 7bcc21ad6f1fdf9dbc16990e9891f9de7a21011d
Author: Mark Felder <feld@feld.me>
Date:   Sat, 24 Aug 2024 20:03:50 -0400

Formatting

Diffstat:

Mlib/pleroma/web/activity_pub/activity_pub_controller.ex8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lib/pleroma/web/activity_pub/activity_pub_controller.ex b/lib/pleroma/web/activity_pub/activity_pub_controller.ex @@ -565,9 +565,11 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController 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