From 0d802c313b10f575cfe9a9ebe74a6b53e68a768c Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 16 Jul 2023 04:27:14 -0600 Subject: [PATCH] Update FanoutDeletePipeline, fix AP object --- app/Jobs/DeletePipeline/FanoutDeletePipeline.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Jobs/DeletePipeline/FanoutDeletePipeline.php b/app/Jobs/DeletePipeline/FanoutDeletePipeline.php index a5ee65ac3..0ccb9d5c4 100644 --- a/app/Jobs/DeletePipeline/FanoutDeletePipeline.php +++ b/app/Jobs/DeletePipeline/FanoutDeletePipeline.php @@ -53,10 +53,10 @@ class FanoutDeletePipeline implements ShouldQueue "id" => $profile->permalink('#delete'), "type" => "Delete", "actor" => $profile->permalink(), - "to" => [ - "https://www.w3.org/ns/activitystreams#Public", + "object" => [ + "type" => "Person", + "id" => $profile->permalink() ], - "object" => $profile->permalink(), ]; $payload = json_encode($activity);