Merge pull request #983 from pixelfed/frontend-ui-refactor

Update AP deliver job
pull/1005/head
daniel 2019-03-07 23:00:33 -07:00 zatwierdzone przez GitHub
commit 37d8be4db7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -79,7 +79,7 @@ class StatusActivityPubDeliver implements ShouldQueue
$requests = function() use ($client, $activity, $profile) {
foreach($audience as $url) {
$headers = HttpSignature::sign($profile, $url, $activity);
yield function() use ($client, $url, $activity) {
yield function() use ($client, $url, $activity, $headers) {
return $client->requestAsync('POST', $url, [
'curl' => [
CURLOPT_HTTPHEADER => $headers,