(fix) We never send IMIP reply when the "initiator" is Outlook 2013/2016 over EAS

This commit is contained in:
Ludovic Marcotte
2016-10-19 15:18:44 -04:00
parent eaf0a19002
commit cad99d476d
2 changed files with 9 additions and 0 deletions

1
NEWS
View File

@@ -12,6 +12,7 @@ Bug fixes
- [eas] make sure we don't sleep for too long when EAS processes need interruption
- [eas] fixed recurring events with timezones for EAS (#3822)
- [eas] improve handling of email folders without a parent
- [eas] never send IMIP reply when the "initiator" is Outlook 2013/2016
- [core] only consider SMTP addresses for AD's proxyAddresses (#3842)
2.3.16 (2016-09-28)

View File

@@ -935,6 +935,14 @@
NSData *bodyData;
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])
{