Update AP delivery job

pull/666/head
Daniel Supernault 7 years ago
parent d11c71cdec
commit 94ee7a2f25
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -38,6 +38,10 @@ class StatusActivityPubDeliver implements ShouldQueue
{
$status = $this->status;
if($status->local == true || $status->url || $status->uri) {
return;
}
$audience = $status->profile->getAudienceInbox();
$profile = $status->profile;
@ -49,7 +53,5 @@ class StatusActivityPubDeliver implements ShouldQueue
foreach($audience as $url) {
Helpers::sendSignedObject($profile, $url, $activity);
}
// todo: fanout on write
}
}

Loading…
Cancel
Save