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

pull/225/head
Ludovic Marcotte 2016-10-19 15:13:28 -04:00
parent c1c2b3e849
commit 85ad17ad36
1 changed files with 8 additions and 0 deletions

View File

@ -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])
{