From: Michael Date: Thu, 21 Jul 2022 07:08:17 +0000 (+0000) Subject: Process the replies X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2e39cebcb9e07ee7d3b3a82427cf8b81827f75fd;p=friendica.git Process the replies --- diff --git a/src/Worker/FetchMissingActivity.php b/src/Worker/FetchMissingActivity.php index ceab8b7338..116f098db0 100644 --- a/src/Worker/FetchMissingActivity.php +++ b/src/Worker/FetchMissingActivity.php @@ -24,6 +24,7 @@ namespace Friendica\Worker; use Friendica\Core\Logger; use Friendica\Core\Worker; use Friendica\Protocol\ActivityPub; +use Friendica\Protocol\ActivityPub\Queue; use Friendica\Protocol\ActivityPub\Receiver; class FetchMissingActivity @@ -38,6 +39,7 @@ class FetchMissingActivity $result = ActivityPub\Processor::fetchMissingActivity($url, $child, $relay_actor, $completion); if ($result) { Logger::info('Successfully fetched missing activity', ['url' => $url]); + Queue::processReplyByUri($url); } elseif (!Worker::defer()) { Logger::info('Activity could not be fetched', ['url' => $url]); // Possibly we should recursively remove child activities at this point.