]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/ActivityPub/Processor.php
Merge pull request #11780 from annando/untrusted
[friendica.git] / src / Protocol / ActivityPub / Processor.php
index db8f28aa0cabcac4d6f2927a99c9e115db9126ca..2025aba04ef83366aeae16b8f0c7ea7f530d25cf 100644 (file)
@@ -980,7 +980,10 @@ class Processor
 
                if ($success) {
                        Queue::remove($activity);
-                       Queue::processReplyByUri($item['uri']);
+
+                       if (Queue::hasChildren($item['uri'])) {
+                               Worker::add(PRIORITY_HIGH, 'ProcessReplyByUri', $item['uri']);
+                       }
                }
 
                // Store send a follow request for every reshare - but only when the item had been stored