[ActivityPub] Fix note URIs

This commit is contained in:
Diogo Cordeiro
2020-08-29 23:51:46 +01:00
parent c8e9cbdbb8
commit 8c20ed0c89
6 changed files with 32 additions and 8 deletions

View File

@@ -124,6 +124,7 @@ class apActorOutboxAction extends ManagedAction
if ($note->object_type == 'http://activitystrea.ms/schema/1.0/note') {
$notices[] = Activitypub_create::create_to_array(
$note->getProfile()->getUri(),
common_local_url('apNotice', ['id' => $note->getID()]),
Activitypub_notice::notice_to_array($note)
);
}