[PLUGIN][ActivityPub] Model/Note->toJson federate the url, even though it's the same as the id
This commit is contained in:
parent
be33c20614
commit
e3e14c53ef
@ -376,6 +376,7 @@ class Note extends Model
|
||||
default => throw new Exception('Unsupported note type.')
|
||||
}),
|
||||
'id' => $object->getUrl(),
|
||||
'url' => $object->getUrl(),
|
||||
'published' => $object->getCreated()->format(DateTimeInterface::RFC3339),
|
||||
'attributedTo' => $object->getActor()->getUri(Router::ABSOLUTE_URL),
|
||||
'name' => $object->getTitle(),
|
||||
|
Loading…
Reference in New Issue
Block a user