]> git.mxchange.org Git - friendica.git/commitdiff
Fix receiving of reshared posts
authorMichael <heluecht@pirati.ca>
Wed, 31 Aug 2022 21:18:33 +0000 (21:18 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 31 Aug 2022 21:18:33 +0000 (21:18 +0000)
src/Protocol/ActivityPub/Receiver.php

index d6a7384b67297563e39a76b8f12d6f4ca7cdc1f2..c05f3c332e178009c5a9dec4d2936fc5e92c2917 100644 (file)
@@ -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]);