fix: harden emoji reactions + feat: configurable ACP event subscriptions (#59)

This commit is contained in:
tlongwell-block
2026-03-13 21:25:50 -04:00
committed by GitHub
parent f4b9aadade
commit c85a2226a5
20 changed files with 2467 additions and 410 deletions

View File

@@ -0,0 +1,4 @@
-- Upgrade the reaction_event_id index from non-unique to unique.
-- Prevents duplicate kind:7 events from creating orphaned reaction rows.
DROP INDEX idx_reactions_source_event ON reactions;
CREATE UNIQUE INDEX idx_reactions_source_event ON reactions (reaction_event_id);