Several fixes

This commit is contained in:
Michael 2018-10-07 19:42:04 +00:00
parent bd6ba98e8d
commit 93866b477a
4 changed files with 6 additions and 8 deletions

View file

@ -166,7 +166,7 @@ class Receiver
$object_data = self::processObject($activity);
$object_data['name'] = $type;
$object_data['author'] = JsonLD::fetchElement($activity, 'as:actor');
$object_data['object'] = $object_id;
$object_data['object_id'] = $object_id;
$object_data['object_type'] = ''; // Since we don't fetch the object, we don't know the type
} else {
$object_data = [];