fix: expand recurring events in CalendarEvent/query (closes #65)

Add expandRecurrences: true to CalendarEvent/query when a date range
filter is provided, so the JMAP server returns individual occurrences
of recurring events instead of only the master event.
This commit is contained in:
Linus Rath
2026-03-20 17:53:30 +01:00
parent 68e141b787
commit 616e4d018d
+4
View File
@@ -2919,6 +2919,10 @@ export class JMAPClient {
filter,
limit: limit || 1000,
};
// Expand recurring events into individual occurrences when a date range is provided
if (filter.after || filter.before) {
queryArgs.expandRecurrences = true;
}
if (sort) {
queryArgs.sort = sort;
}