Fix type
This commit is contained in:
parent
0965ae459f
commit
5f979a32f9
@ -34,7 +34,7 @@ $valid_object_types = ['Note'];
|
||||
$res = $data->object;
|
||||
|
||||
try {
|
||||
Activitypub_notice::validate_remote_notice($res);
|
||||
Activitypub_notice::validate_remote_notice((array) $res);
|
||||
} catch (Exception $e) {
|
||||
common_debug('ActivityPub Inbox Create Note: Invalid note: '.$e->getMessage());
|
||||
ActivityPubReturn::error($e->getMessage());
|
||||
|
Reference in New Issue
Block a user