diff --git a/calendar/lightning/content/imip-bar.js b/calendar/lightning/content/imip-bar.js index 86476f0dab1..0a3e3cd3eac 100644 --- a/calendar/lightning/content/imip-bar.js +++ b/calendar/lightning/content/imip-bar.js @@ -23,7 +23,7 @@ * Philipp Kewisch * * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or + * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only @@ -181,7 +181,7 @@ function setupBar(imipMethod) { isUpdateMsg(); } else if (imipMethod.toUpperCase() == "REPLY") { // Check if this is an reply and display things accordingly - processReplyMsg(); + processReplyMsg(); } else if (imipMethod.toUpperCase() == "CANCEL") { // Check if this is an cancel and display things accordingly processCancelMsg(); @@ -380,7 +380,7 @@ function getMsgRecipient() { return null; } } - emailMap[identity.toLowerCase()] = true; + emailMap[identity.email.toLowerCase()] = true; } else { // Build a map of usable email addresses for (var i = 0; i < identities.Count(); i++) {