From 3e28d62bdb4cfea1982d63297556a90a8434702d Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 31 Aug 2022 21:18:33 +0000 Subject: [PATCH] Fix receiving of reshared posts --- src/Protocol/ActivityPub/Receiver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);