Update Profile model

pull/3532/head
Daniel Supernault 3 years ago
parent 4ecbd7cbe4
commit a73b2f0002
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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;
}

Loading…
Cancel
Save