Fix bug 487008 - Wrong rendering of event invitation. r=philipp
This commit is contained in:
Родитель
7656ce59a4
Коммит
74feb23b56
|
@ -212,6 +212,14 @@ ltnMimeConverter.prototype = {
|
|||
let event = null;
|
||||
for each (var item in parser.getItems({})) {
|
||||
if (isEvent(item)) {
|
||||
if (item.hasProperty("X-MOZ-FAKED-MASTER")) {
|
||||
// if it's a faked master, take any overridden item to get a real occurrence:
|
||||
let exc = item.recurrenceInfo.getExceptionFor(item.startDate);
|
||||
cal.ASSERT(exc, "unexpected!");
|
||||
if (exc) {
|
||||
item = exc;
|
||||
}
|
||||
}
|
||||
event = item;
|
||||
break;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче