From d1a384e539e52bdb40e326ef41149fe7b28fff04 Mon Sep 17 00:00:00 2001 From: Jean Raby Date: Wed, 22 Jan 2014 11:40:04 -0500 Subject: [PATCH] Send IMIP responses if the event is in the future Avoids sending responses for past events when importing events into a new calendar from thunderbird or any DAV client. --- SoObjects/Appointments/SOGoCalendarComponent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/Appointments/SOGoCalendarComponent.m b/SoObjects/Appointments/SOGoCalendarComponent.m index 117812ef1..bbed097ca 100644 --- a/SoObjects/Appointments/SOGoCalendarComponent.m +++ b/SoObjects/Appointments/SOGoCalendarComponent.m @@ -896,7 +896,7 @@ SOGoDomainDefaults *dd; dd = [from domainDefaults]; - if ([dd appointmentSendEMailNotifications]) + if ([dd appointmentSendEMailNotifications] && [event isStillRelevant]) { /* get WOApplication instance */ app = [WOApplication application];