From 2cf39b10e1cf2ed6f40443c4a69865647cf82a59 Mon Sep 17 00:00:00 2001 From: Remi Lefevre Date: Wed, 5 Oct 2011 00:41:04 +0200 Subject: [PATCH 2/2] bug 690805: always send notifications until lightning let us have the choice --- js/calExchange.js | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/js/calExchange.js b/js/calExchange.js index 3ccc242..1fc9b2d 100644 --- a/js/calExchange.js +++ b/js/calExchange.js @@ -1183,12 +1183,11 @@ calExchangeRequest.prototype = { function sendMail(aItem) { - var inv = aItem.getProperty("X-MOZ-SEND-INVITATIONS"); - - if (inv == "TRUE" || inv == true) - return "SendToAllAndSaveCopy"; - - return "SendToNone"; + // Once lightning enables notify-attendees-checkbox for + // add-ons returning true to canNotifyAttendees, check + // for its status and return "SendToNone" if it is not + // checked. Until then, always send notifications. + return "SendToAllAndSaveCopy"; } function getXml(aXml, aName, aNs) -- 1.7.4.1