From 85ad17ad36fc255b4b43a42d97a5edafb9865a20 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Wed, 19 Oct 2016 15:13:28 -0400 Subject: [PATCH] (fix) We never send IMIP reply when the "initiator" is Outlook 2013/2016 over --- SoObjects/Appointments/SOGoCalendarComponent.m | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/SoObjects/Appointments/SOGoCalendarComponent.m b/SoObjects/Appointments/SOGoCalendarComponent.m index e5d85886c..1c9c1ee36 100644 --- a/SoObjects/Appointments/SOGoCalendarComponent.m +++ b/SoObjects/Appointments/SOGoCalendarComponent.m @@ -1031,6 +1031,14 @@ { SOGoDomainDefaults *dd; + // We never send IMIP reply when the "initiator" is Outlook 2013/2016 over + // the EAS protocol. That is because Outlook will always issue a SendMail command + // with the meeting's response (ie., IMIP message with METHOD:REPLY) so there's + // no need to send it twice. Moreover, Outlook users can also choose to NOT send + // the IMIP messsage at all, so SOGo won't send one without user's consent + if ([[context objectForKey: @"DeviceType"] isEqualToString: @"WindowsOutlook15"]) + return; + dd = [from domainDefaults]; if ([dd appointmentSendEMailNotifications] && [event isStillRelevant]) {