fix: disable Mastodon external like/repost status posts

AP endpoint already sends native Like/Announce activities to fediverse
authors, making the "❤️ URL" / "🔁 URL" Mastodon status posts redundant.
Disabling syndicateExternalLikes + syndicateExternalReposts prevents the
"did not return a URL" error from the scope-limited Mastodon token.

Native same-instance favourites/reblogs still route through Mastodon
(requires write:favourites + write:statuses scope on the token).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
svemagie
2026-03-12 13:58:34 +01:00
parent ad0492ef64
commit 77dd85b507

View File

@@ -331,6 +331,12 @@ export default {
url: mastodonUrl,
user: mastodonUser,
accessToken: mastodonAccessToken,
// AP endpoint sends native Like/Announce activities; skip the redundant
// "❤️ URL" / "🔁 URL" status posts for external fediverse URLs.
// Native same-instance favourites/reblogs still work (needs write:favourites
// + write:statuses scope on the token).
syndicateExternalLikes: false,
syndicateExternalReposts: false,
},
"@indiekit/endpoint-syndicate": {
mountPath: syndicateMountPath,