Avoid fetching posts in a loop

This commit is contained in:
Michael 2024-07-20 09:48:48 +00:00
parent 921aca432c
commit 45af374068
3 changed files with 32 additions and 1 deletions

View file

@ -757,6 +757,8 @@ class Receiver
$object_data['recursion-depth'] = $activity['recursion-depth'];
}
$object_data['children'] = $activity['children'] ?? [];
if (!self::routeActivities($object_data, $type, $push, true, $uid)) {
self::storeUnhandledActivity(true, $type, $object_data, $activity, $body, $uid, $trust_source, $push, $signer);
Queue::remove($object_data);