From e0747c12ee9d33bdc78f24f706b3dd637178564d Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Sun, 28 Jun 2026 20:27:23 +0200 Subject: [PATCH] fix: send calendar invites by setting organizerCalendarAddress --- components/calendar/event-modal.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/calendar/event-modal.tsx b/components/calendar/event-modal.tsx index 609613f1..4c2b3f28 100644 --- a/components/calendar/event-modal.tsx +++ b/components/calendar/event-modal.tsx @@ -523,9 +523,14 @@ export function EventModal({ effectiveAttendees ) as Record; data.replyTo = { imip: `mailto:${organizerEmail}` }; + // Stalwart (calcard) derives the iCalendar ORGANIZER property solely from + // organizerCalendarAddress; without it no ORGANIZER is emitted and iTIP + // scheduling is silently skipped (NoSchedulingInfo), so no invites are sent. + data.organizerCalendarAddress = `mailto:${organizerEmail}`; } else if (effectiveAttendees.length === 0 && event?.participants) { data.participants = null; data.replyTo = null; + data.organizerCalendarAddress = null; } const shouldSendScheduling = effectiveAttendees.length > 0 && sendInvitations;