mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 19:47:45 +02:00
fix(activitypub): add target_actor_id for create activity to broadcast post reply
This commit is contained in:
parent
962dd305f5
commit
0128a21ec5
3 changed files with 11 additions and 7 deletions
|
|
@ -39,6 +39,8 @@ class NoteObject extends ObjectType
|
|||
$this->attributedTo = $post->actor->uri;
|
||||
|
||||
if ($post->in_reply_to_id !== null) {
|
||||
$this->to[] = $post->reply_to_post->actor->uri;
|
||||
|
||||
$this->inReplyTo = $post->reply_to_post->uri;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue