Skip to content

Fix: Remove broadcast-to-all-channels fallback in industry alerts#938

Merged
bokelley merged 2 commits into
mainfrom
bokelley/addie-news-posting
Feb 2, 2026
Merged

Fix: Remove broadcast-to-all-channels fallback in industry alerts#938
bokelley merged 2 commits into
mainfrom
bokelley/addie-news-posting

Conversation

@bokelley

@bokelley bokelley commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Remove the fallback logic that sent articles to all active notification channels when no explicit routing was specified. Articles should only be sent to channels they've been explicitly routed to.

Problem

Unrelated content was flooding specialized channels like #addie-moltbook due to the broadcast-to-all fallback when articles had no notification_channel_ids.

Solution

Changed the query condition from OR k.notification_channel_ids IS NULL OR array_length(k.notification_channel_ids, 1) = 0 to require explicit routing only: AND $2 = ANY(k.notification_channel_ids).

🤖 Generated with Claude Code

bokelley and others added 2 commits February 2, 2026 10:21
Remove the fallback logic that sent articles to all active notification
channels when no explicit routing was specified. Articles should only be
sent to channels they've been explicitly routed to via notification_channel_ids.
This prevents unrelated content from flooding specialized channels like
#addie-moltbook.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@bokelley
bokelley merged commit 4e8932a into main Feb 2, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant