diff --git a/backend/app/workers/notification_dispatcher.py b/backend/app/workers/notification_dispatcher.py index a143992..f3775c5 100644 --- a/backend/app/workers/notification_dispatcher.py +++ b/backend/app/workers/notification_dispatcher.py @@ -110,9 +110,12 @@ def dispatch_notifications(self): db.commit() continue - # Referral-tier events (committee referrals) are noisy for neutral follows; - # pocket_veto and pocket_boost users want them as early warnings - if follow_mode == "neutral" and (event.payload or {}).get("milestone_tier") == "referral": + # Referral-tier events (committee referrals) are noisy for loose topic follows; + # suppress them only for topic-follow events so direct bill/member followers + # still get notified when their bill is referred to committee. + payload = event.payload or {} + is_topic_follow = payload.get("source") == "topic_follow" + if follow_mode == "neutral" and payload.get("milestone_tier") == "referral" and is_topic_follow: event.dispatched_at = now db.commit() continue