From: Michael Date: Thu, 26 Oct 2023 04:49:41 +0000 (+0000) Subject: Fix processing of featured collections X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=35cf140cb27fd09730741c9162204ec697d09001;p=friendica.git Fix processing of featured collections --- diff --git a/src/Protocol/ActivityPub/Processor.php b/src/Protocol/ActivityPub/Processor.php index 2e204717b8..a0ce61d9c1 100644 --- a/src/Protocol/ActivityPub/Processor.php +++ b/src/Protocol/ActivityPub/Processor.php @@ -737,7 +737,7 @@ class Processor } if (!empty($parent['uri-id'])) { - $parent; + return $parent; } return null; @@ -770,6 +770,7 @@ class Processor { $post = self::getUriIdForFeaturedCollection($activity); if (empty($post)) { + Queue::remove($activity); return; }