Fix notice "Undefined index: gravity"
This commit is contained in:
parent
722aada460
commit
1898c0c351
|
@ -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…
Reference in New Issue
Block a user