Update FanoutDeletePipeline, fix AP object

pull/4544/head
Daniel Supernault 2 years ago
parent 7a431af93a
commit 0d802c313b
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -53,10 +53,10 @@ class FanoutDeletePipeline implements ShouldQueue
"id" => $profile->permalink('#delete'), "id" => $profile->permalink('#delete'),
"type" => "Delete", "type" => "Delete",
"actor" => $profile->permalink(), "actor" => $profile->permalink(),
"to" => [ "object" => [
"https://www.w3.org/ns/activitystreams#Public", "type" => "Person",
"id" => $profile->permalink()
], ],
"object" => $profile->permalink(),
]; ];
$payload = json_encode($activity); $payload = json_encode($activity);

Loading…
Cancel
Save