Merge pull request #11879 from annando/receive-reshare

Fix receiving of reshared posts
This commit is contained in:
Hypolite Petovan 2022-08-31 21:55:04 -04:00 committed by GitHub
commit 93acaff014
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -745,7 +745,7 @@ class Receiver
$announce_object_data = self::processObject($activity); $announce_object_data = self::processObject($activity);
$announce_object_data['name'] = $type; $announce_object_data['name'] = $type;
$announce_object_data['author'] = $actor; $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['object_type'] = $object_data['object_type'];
$announce_object_data['push'] = $push; $announce_object_data['push'] = $push;
Logger::debug('Create announce activity', ['id' => $announce_object_data['id'], 'object_data' => $announce_object_data]); Logger::debug('Create announce activity', ['id' => $announce_object_data['id'], 'object_data' => $announce_object_data]);