We now inherit the causer for completing a thread

This commit is contained in:
Michael 2020-09-25 12:16:08 +00:00
parent 9552473db5
commit 9ea34370a6
2 changed files with 19 additions and 11 deletions

View file

@ -494,7 +494,7 @@ class Receiver
case 'as:Announce':
if (in_array($object_data['object_type'], self::CONTENT_TYPES)) {
$object_data['thread-completion'] = true;
$object_data['thread-completion'] = Contact::getIdForURL($actor);
$item = ActivityPub\Processor::createItem($object_data);
if (empty($item)) {