Fix CalDAV: calendar-query REPORT returns empty calendar-data for JMAP-created events

This commit is contained in:
Maurus Decimus
2026-07-19 21:27:01 +02:00
parent 2bce0d22fd
commit c105cff8fb
4 changed files with 294 additions and 262 deletions

View File

@@ -562,7 +562,10 @@ impl CalendarQueryHandler {
let _ = write!(&mut out, "END:{component_name}\r\n");
}
}
} else if entries.peek().is_some() {
} else if entries.peek().is_some()
|| (component.component_type == ICalendarComponentType::VCalendar
&& !component.component_ids.is_empty())
{
let _ = write!(&mut out, "BEGIN:{component_name}\r\n");
match data.limit_freebusy {