diff --git a/lib/controllers/compose.js b/lib/controllers/compose.js index fbd3b93..1c1ec28 100644 --- a/lib/controllers/compose.js +++ b/lib/controllers/compose.js @@ -208,7 +208,7 @@ export function submitComposeController(mountPath, plugin) { id: new URL(noteId), attribution: actorUri, content: content.trim(), - inReplyTo: inReplyTo ? new URL(inReplyTo) : undefined, + replyTarget: inReplyTo ? new URL(inReplyTo) : undefined, published: Temporal.Now.instant(), to: publicAddress, cc: followersUri, diff --git a/lib/jf2-to-as2.js b/lib/jf2-to-as2.js index b30117b..7597436 100644 --- a/lib/jf2-to-as2.js +++ b/lib/jf2-to-as2.js @@ -215,7 +215,7 @@ export function jf2ToAS2Activity(properties, actorUrl, publicationUrl, options = } if (properties["in-reply-to"]) { - noteOptions.inReplyTo = new URL(properties["in-reply-to"]); + noteOptions.replyTarget = new URL(properties["in-reply-to"]); } // Attachments diff --git a/package.json b/package.json index 826ba1a..131fa41 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rmdes/indiekit-endpoint-activitypub", - "version": "2.0.4", + "version": "2.0.5", "description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.", "keywords": [ "indiekit",