diff --git a/src/EventHub.BackgroundServices/Events/EventReminderNotifier.cs b/src/EventHub.BackgroundServices/Events/EventReminderNotifier.cs index 8dcda3b..e34e048 100644 --- a/src/EventHub.BackgroundServices/Events/EventReminderNotifier.cs +++ b/src/EventHub.BackgroundServices/Events/EventReminderNotifier.cs @@ -36,7 +36,7 @@ namespace EventHub.Events public async Task NotifyAsync(Event @event) { - if (@event is null) + if (@event is null || @event.IsRemindingEmailSent) { return; } diff --git a/src/EventHub.BackgroundServices/Events/EventTimingChangeNotifier.cs b/src/EventHub.BackgroundServices/Events/EventTimingChangeNotifier.cs index cfaf080..c097c5c 100644 --- a/src/EventHub.BackgroundServices/Events/EventTimingChangeNotifier.cs +++ b/src/EventHub.BackgroundServices/Events/EventTimingChangeNotifier.cs @@ -36,7 +36,7 @@ namespace EventHub.Events public async Task NotifyAsync(Event @event) { - if (@event is null) + if (@event is null || @event.IsTimingChangeEmailSent) { return; } diff --git a/src/EventHub.BackgroundServices/Events/NewEventNotifier.cs b/src/EventHub.BackgroundServices/Events/NewEventNotifier.cs index 824563c..8939071 100644 --- a/src/EventHub.BackgroundServices/Events/NewEventNotifier.cs +++ b/src/EventHub.BackgroundServices/Events/NewEventNotifier.cs @@ -36,7 +36,7 @@ namespace EventHub.Events public async Task NotifyAsync(Event @event) { - if (@event is null) + if (@event is null || @event.IsEmailSentToMembers) { return; }