Browse Source

Fix notice "Undefined index: gravity"

tags/2020.09
Michael 1 month ago
parent
commit
1898c0c351
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/Protocol/ActivityPub/Receiver.php

+ 4
- 0
src/Protocol/ActivityPub/Receiver.php View File

@@ -487,6 +487,10 @@ class Receiver
$object_data['thread-completion'] = true;

$item = ActivityPub\Processor::createItem($object_data);
if (empty($item)) {
return;
}

$item['post-type'] = Item::PT_ANNOUNCEMENT;
ActivityPub\Processor::postItem($object_data, $item);



Loading…
Cancel
Save