mirror of
https://github.com/pretix/pretix.git
synced 2026-04-26 23:52:35 +00:00
Fix bug that lead to notifications being sent for all events
This commit is contained in:
@@ -39,6 +39,7 @@ def notify(logentry_id: int):
|
||||
notify_global = {
|
||||
(ns.user, ns.method): ns.enabled
|
||||
for ns in NotificationSetting.objects.filter(
|
||||
event__isnull=True,
|
||||
action_type=logentry.action_type,
|
||||
user__pk__in=users.values_list('pk', flat=True)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user