Update Profile model

This commit is contained in:
Daniel Supernault 2022-06-05 02:49:29 -06:00
parent 4ecbd7cbe4
commit a73b2f0002
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -271,7 +271,28 @@ class Profile extends Model
$this->permalink('/followers')
]
];
break;
break;
case 'unlisted':
$audience = [
'to' => [
],
'cc' => [
'https://www.w3.org/ns/activitystreams#Public',
$this->permalink('/followers')
]
];
break;
case 'private':
$audience = [
'to' => [
$this->permalink('/followers')
],
'cc' => [
]
];
break;
}
return $audience;
}