diff --git a/manage_notifications/management/commands/interested_going.py b/manage_notifications/management/commands/interested_going.py index ce33b70..077d4d8 100644 --- a/manage_notifications/management/commands/interested_going.py +++ b/manage_notifications/management/commands/interested_going.py @@ -66,4 +66,6 @@ class Command(BaseCommand): principal__is_active=True, principal__deleted=False, status__in=[EventInteractionType.GOING, EventInteractionType.INTERESTED], + principal__notifications_principal__notification_category=NotificationCategoryChoices.EVENT, + principal__notifications_principal__is_enabled=True, ).select_related("principal", "event")