mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-05 14:46:03 +02:00
Send actor in CreateNote, Announce
This commit is contained in:
@@ -6,6 +6,7 @@ export default (object: any, note: INote) => {
|
||||
|
||||
return {
|
||||
id: `${config.url}/notes/${note._id}`,
|
||||
actor: `${config.url}/users/${note.userId}`,
|
||||
type: 'Announce',
|
||||
published: note.createdAt.toISOString(),
|
||||
to: ['https://www.w3.org/ns/activitystreams#Public'],
|
||||
|
||||
Reference in New Issue
Block a user