From a2f14efd948c41342157da0768ad2ba1dc29d61d Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 15 Dec 2020 15:42:16 -0500 Subject: [PATCH] Remove reference to receivers when adding relay delivery tasks in Worker\Notifier - Address https://github.com/friendica/friendica/pull/9661#issuecomment-745553051 --- src/Worker/Notifier.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Worker/Notifier.php b/src/Worker/Notifier.php index 3a1f00749d..907037dce9 100644 --- a/src/Worker/Notifier.php +++ b/src/Worker/Notifier.php @@ -834,10 +834,10 @@ class Notifier } // We deliver posts to relay servers slightly delayed to priorize the direct delivery - foreach ($relay_inboxes as $inbox => $receivers) { + foreach ($relay_inboxes as $inbox) { Logger::info('Delivery to relay servers via ActivityPub', ['cmd' => $cmd, 'id' => $target_item['id'], 'inbox' => $inbox]); - if (Worker::add(['priority' => $priority, 'dont_fork' => true], 'APDelivery', $cmd, $target_item['id'], $inbox, $uid, $receivers)) { + if (Worker::add(['priority' => $priority, 'dont_fork' => true], 'APDelivery', $cmd, $target_item['id'], $inbox, $uid)) { $delivery_queue_count++; } } -- 2.39.5