mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:10:11 +00:00
Improved asynchronous message procession
This commit is contained in:
parent
c88b1c0197
commit
a1947d2bb1
8 changed files with 46 additions and 38 deletions
|
@ -142,7 +142,7 @@ class ClientToServer
|
|||
*/
|
||||
private static function updateContent(int $uid, string $object_id, array $application, array $ldactivity): array
|
||||
{
|
||||
$id = Item::fetchByLink($object_id, $uid);
|
||||
$id = Item::fetchByLink($object_id, $uid, ActivityPub\Receiver::COMPLETION_ASYNC);
|
||||
$original_post = Post::selectFirst(['uri-id'], ['uid' => $uid, 'origin' => true, 'id' => $id]);
|
||||
if (empty($original_post)) {
|
||||
Logger::debug('Item not found or does not belong to the user', ['id' => $id, 'uid' => $uid, 'object_id' => $object_id, 'activity' => $ldactivity]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue