Bug 1496223 - Suppress error message about missing response mode if no attendees are involved at all. r=philipp

This commit is contained in:
MakeMyDay 2018-10-03 22:55:37 +02:00
Родитель 8004d8e579
Коммит 222042cf45
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -751,9 +751,12 @@ var calitip = {
" provided for responseMode attribute in argument aExtResponse." +
" Falling back to USER mode.\r\n" + cal.STACK(20));
}
} else {
// let's log something useful to notify addon developers or find any missing pieces in
// the conversions
} else if ((aOriginalItem && aOriginalItem.getAttendees({}).length) ||
aItem.getAttendees({}).length) {
// let's log something useful to notify addon developers or find any
// missing pieces in the conversions if the current or original item
// has attendees - the latter is to prevent logging if creating events
// by click and slide in day or week views
cal.LOG("cal.itip.checkAndSend: no response mode provided, " +
"falling back to USER mode.\r\n" + cal.STACK(20));
}