fix: add calendarAddress and replyTo to calendar participants for Stalwart compatibility #189 #192

This commit is contained in:
Linus Rath
2026-04-14 14:26:28 +02:00
parent 6678501501
commit 168b36d419
4 changed files with 52 additions and 3 deletions
+2
View File
@@ -380,8 +380,10 @@ export function EventModal({
{ name: organizerName, email: organizerEmail },
attendees
) as Record<string, CalendarParticipant>;
data.replyTo = { imip: `mailto:${organizerEmail}` };
} else if (attendees.length === 0 && event?.participants) {
data.participants = null;
data.replyTo = null;
}
const shouldSendScheduling = attendees.length > 0 && sendInvitations;