mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:10:11 +00:00
Avoid fetching posts in a loop
This commit is contained in:
parent
921aca432c
commit
45af374068
3 changed files with 32 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue