From b19a33df2fe9d4a892644e5a696e0a4a89438174 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Sun, 22 Feb 2026 19:18:11 +0100 Subject: [PATCH] fix(compose): add diagnostic logging for syndication debugging Log syndicateTo values, micropubBody, and micropubUrl before the Micropub request to trace why compose replies aren't syndicating to Mastodon/Bluesky. --- lib/controllers/compose.js | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/controllers/compose.js b/lib/controllers/compose.js index 6d187a4..c7ef9d6 100644 --- a/lib/controllers/compose.js +++ b/lib/controllers/compose.js @@ -301,6 +301,15 @@ export function submitComposeController(mountPath, plugin) { } } + console.info( + `[ActivityPub] Compose Micropub submission:`, + JSON.stringify({ + syndicateTo: syndicateTo || "(none)", + micropubBody: micropubData.toString(), + micropubUrl, + }), + ); + const micropubResponse = await fetch(micropubUrl, { method: "POST", headers: { diff --git a/package.json b/package.json index 137e401..af763f1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rmdes/indiekit-endpoint-activitypub", - "version": "2.0.1", + "version": "2.0.2", "description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.", "keywords": [ "indiekit",