fix merge omission

This commit is contained in:
Django Doucet 2023-04-21 08:45:10 -06:00
parent 036ee3180b
commit d23ff46073

View file

@ -219,7 +219,7 @@ function get_publickey_by_actor( $actor, $key_id ) {
return new \WP_Error( 'activitypub_no_public_key', \__( 'No "Public-Key" found', 'activitypub' ), $metadata ); return new \WP_Error( 'activitypub_no_public_key', \__( 'No "Public-Key" found', 'activitypub' ), $metadata );
} }
function get_follower_inboxes( $user_id ) { function get_follower_inboxes( $user_id, $cc = array() ) {
$followers = \Activitypub\Peer\Followers::get_followers( $user_id ); $followers = \Activitypub\Peer\Followers::get_followers( $user_id );
$followers = array_merge( $followers, $cc ); $followers = array_merge( $followers, $cc );
$followers = array_unique( $followers ); $followers = array_unique( $followers );