diff --git a/lib/controllers/compose.js b/lib/controllers/compose.js index c7ef9d6..3c197b9 100644 --- a/lib/controllers/compose.js +++ b/lib/controllers/compose.js @@ -198,12 +198,15 @@ export function submitComposeController(mountPath, plugin) { const noteId = `urn:uuid:${crypto.randomUUID()}`; const actorUri = ctx.getActorUri(handle); + const followersUri = ctx.getFollowersUri(handle); const note = new Note({ id: new URL(noteId), attribution: actorUri, content: content.trim(), inReplyTo: inReplyTo ? new URL(inReplyTo) : undefined, published: Temporal.Now.instant(), + to: new URL("https://www.w3.org/ns/activitystreams#Public"), + cc: followersUri, }); const create = new Create({ diff --git a/package.json b/package.json index af763f1..ca222dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rmdes/indiekit-endpoint-activitypub", - "version": "2.0.2", + "version": "2.0.3", "description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.", "keywords": [ "indiekit",