]> git.mxchange.org Git - friendica.git/commitdiff
Fix processing of featured collections
authorMichael <heluecht@pirati.ca>
Thu, 26 Oct 2023 04:49:41 +0000 (04:49 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 26 Oct 2023 04:49:41 +0000 (04:49 +0000)
src/Protocol/ActivityPub/Processor.php

index 2e204717b8da99e6e8be44bff4a2c80915a5f296..a0ce61d9c1f54a76dea77ea60535994b8a54594e 100644 (file)
@@ -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;
                }