This commit is contained in:
Diogo Cordeiro 2018-08-02 05:05:16 +01:00
parent 0965ae459f
commit 5f979a32f9

View File

@ -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());