This commit is contained in:
2020-07-24 18:19:29 +00:00
parent 87ec492b29
commit ea3bc198a0
5 changed files with 22 additions and 14 deletions

View File

@@ -128,7 +128,7 @@ namespace AyaNova.Biz
if (notifyevent.NotifySubscription.AgeValue != TimeSpan.Zero)
{
var deliverAfter = notifyevent.EventDate + notifyevent.NotifySubscription.AgeValue - notifyevent.NotifySubscription.AdvanceNotice;
if (deliverAfter > DateTime.UtcNow)
if (deliverAfter < DateTime.UtcNow)
{
if (notifyevent.NotifySubscription.DeliveryMethod == NotifyDeliveryMethod.App)
{