mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update Announce AP Transformer
This commit is contained in:
parent
73a6efce97
commit
7522364f23
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@ class Announce extends Fractal\TransformerAbstract
|
|||
'actor' => $status->profile->permalink(),
|
||||
'to' => ['https://www.w3.org/ns/activitystreams#Public'],
|
||||
'cc' => [
|
||||
$status->parent()->profile->permalink(),
|
||||
$status->parent()->profile->follower_url
|
||||
$status->profile->permalink(),
|
||||
$status->profile->follower_url ?? $status->profile->permalink('/followers')
|
||||
],
|
||||
'published' => $status->created_at->format(DATE_ISO8601),
|
||||
'object' => $status->parent()->url(),
|
||||
|
|
Loading…
Reference in a new issue