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.
pull/17/head
Jean Raby 2014-01-22 11:40:04 -05:00
parent e7f38f940e
commit d1a384e539
1 changed files with 1 additions and 1 deletions

View File

@ -896,7 +896,7 @@
SOGoDomainDefaults *dd;
dd = [from domainDefaults];
if ([dd appointmentSendEMailNotifications])
if ([dd appointmentSendEMailNotifications] && [event isStillRelevant])
{
/* get WOApplication instance */
app = [WOApplication application];