feat(activitypub): add Podcast actor and PodcastEpisode object with comments

This commit is contained in:
Yassine Doghri 2021-07-12 18:40:22 +00:00
commit 9e1e5d2e86
13 changed files with 316 additions and 17 deletions

View file

@ -39,7 +39,7 @@ class NoteObject extends ObjectType
$this->inReplyTo = $status->reply_to_status->uri;
}
$this->replies = base_url(route_to('status-replies', $status->actor->username, $status->id));
$this->replies = url_to('status-replies', $status->actor->username, $status->id);
$this->cc = [$status->actor->followers_url];
}