From: Michael Date: Thu, 26 Oct 2023 06:46:23 +0000 (+0000) Subject: Follow requests are always processable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7e22b7090ed00fd7ae9db911f0692a54c00b3ca3;p=friendica.git Follow requests are always processable --- diff --git a/src/Protocol/ActivityPub/Queue.php b/src/Protocol/ActivityPub/Queue.php index 4aae76a4b0..3046c24580 100644 --- a/src/Protocol/ActivityPub/Queue.php +++ b/src/Protocol/ActivityPub/Queue.php @@ -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;