Files
indiekit-server/scripts
Sven 63bc41ebb5
All checks were successful
Deploy Indiekit Server / deploy (push) Successful in 1m14s
fix(activitypub): inbound replies/notifications broken — publicationUrl missing in inbox handlers
collections._publicationUrl was never set, so every pubUrl guard in
handleCreate/handleAnnounce evaluated to undefined:
  - Reply notifications were never created (if pubUrl && ...) always false
  - Boost notifications for our content never created
  - Replies from non-followed accounts never stored in ap_timeline

Fix A: set collections._publicationUrl = publicationUrl before
registerInboxListeners() in federation-setup.js.

Fix B: in handleCreate, add an else-if branch that stores replies to
our own posts in ap_timeline even when the sender is not in ap_following,
so they appear in Mastodon client conversation/notification views.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 15:28:24 +02:00
..
2026-03-20 22:34:59 +01:00