remove redundant id check

This commit is contained in:
Django Doucet 2023-10-01 12:20:49 -06:00
parent 7339a6419d
commit 641d250a06

View file

@ -352,11 +352,6 @@ class Inbox {
$meta = \Activitypub\get_remote_metadata_by_actor( $object['actor'] );
// Objects must have IDs
if ( ! isset( $object['object']['id'] ) ) {
\error_log( 'Comment provided without ID' );
return;
}
$id = $object['object']['id'];
// Only handle replies