]> git.mxchange.org Git - friendica.git/commitdiff
Follow requests are always processable
authorMichael <heluecht@pirati.ca>
Thu, 26 Oct 2023 06:46:23 +0000 (06:46 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 26 Oct 2023 06:46:23 +0000 (06:46 +0000)
src/Protocol/ActivityPub/Queue.php

index 4aae76a4b0aa62b65c35fe5e3c3bcb47276f1759..3046c24580d57c3c40daaae483c50d7e619345df 100644 (file)
@@ -268,6 +268,10 @@ class Queue
                        return false;
                }
 
+               if (($entry['type'] == 'as:Follow') && ($entry['object-type'] == 'as:Note')) {
+                       return true;
+               }
+
                if (!empty($entry['object-id']) && Post::exists(['uri' => $entry['object-id']])) {
                        // The object already exists, so processing can be done
                        return true;