From: Michael Date: Wed, 31 Aug 2022 21:18:33 +0000 (+0000) Subject: Fix receiving of reshared posts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e28d62bdb4cfea1982d63297556a90a8434702d;p=friendica.git Fix receiving of reshared posts --- diff --git a/src/Protocol/ActivityPub/Receiver.php b/src/Protocol/ActivityPub/Receiver.php index d6a7384b67..c05f3c332e 100644 --- a/src/Protocol/ActivityPub/Receiver.php +++ b/src/Protocol/ActivityPub/Receiver.php @@ -745,7 +745,7 @@ class Receiver $announce_object_data = self::processObject($activity); $announce_object_data['name'] = $type; $announce_object_data['author'] = $actor; - $announce_object_data['object_id'] = $object_data['object_id']; + $announce_object_data['object_id'] = $object_data['id']; $announce_object_data['object_type'] = $object_data['object_type']; $announce_object_data['push'] = $push; Logger::debug('Create announce activity', ['id' => $announce_object_data['id'], 'object_data' => $announce_object_data]);