Files
StarPunk/migrations/026_backfeed_reply_threads.sql
T
PhilandClaude Opus 5.5 bf6e0fdc0b fix: backfeed whole reply threads and nest them (v2.20.2)
Backfeed only read first-level replies (Threads /replies, GoToSocial
direct replies, Bluesky depth 1) and skipped the owner's own replies, so
conversations under crossposts lost everything after the first reply.

- Threads /conversation, all GoToSocial descendants, Bluesky depth 10
- backfeed.thread_members keeps others' replies to our copy and any reply
  (ours included) to a kept reply; own replies are stored as notified
- Migration 026: webmentions.parent_remote_id; replies render nested as
  comments of comments

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 20:43:30 -07:00

5 lines
270 B
SQL

-- Migration 026: Threads of backfed replies (v2.20.2)
-- parent_remote_id: the silo id of the response a reply answers; NULL when it
-- answers our crosspost itself. Replies are shown nested under their parent.
ALTER TABLE webmentions ADD COLUMN parent_remote_id TEXT;