From abb44c90fc923c5af2294a45753c0cb31cd144e2 Mon Sep 17 00:00:00 2001 From: MakeMyDay Date: Sat, 22 Mar 2014 20:20:37 +0100 Subject: [PATCH] Bug 986852 - Email invitation only sent to the first attendee if "Separate invitation per attendee" is checked. r+a=philipp CLOSED TREE --- calendar/base/modules/calItipUtils.jsm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/calendar/base/modules/calItipUtils.jsm b/calendar/base/modules/calItipUtils.jsm index fa9e2e12f2..72195dddac 100644 --- a/calendar/base/modules/calItipUtils.jsm +++ b/calendar/base/modules/calItipUtils.jsm @@ -986,8 +986,11 @@ function sendMessage(aItem, aMethod, aRecipientsList, autoResponse) { sendItem.removeAllAttendees(); sendItem.addAttendee(aRecipient); // send message - return _sendItem(sendToList, sendItem); + if (!_sendItem(sendToList, sendItem)) { + return false; + }; } + return true; } else { return _sendItem(aRecipientsList, aItem); }