fix: use calendarAddress/organizerCalendarAddress for scheduling, drop retired sendTo/replyTo #500

This commit is contained in:
Linus Rath
2026-07-07 23:18:05 +02:00
parent 29283282d5
commit c3a97de62f
6 changed files with 34 additions and 13 deletions
+4 -1
View File
@@ -285,7 +285,10 @@ describe('buildParticipantMap', () => {
expect(org!.roles).toEqual({ owner: true, attendee: true });
expect(org!.participationStatus).toBe('accepted');
expect(org!.scheduleAgent).toBe('server');
expect(org!.sendTo).toEqual({ imip: 'mailto:alice@example.com' });
// sendTo is retired in draft-ietf-calext-jscalendarbis; the scheduling
// address is carried by calendarAddress instead.
expect(org!.sendTo).toBeUndefined();
expect(org!.calendarAddress).toBe('mailto:alice@example.com');
expect(org!.expectReply).toBe(false);
const att0 = entries.find(p => p.email === 'bob@example.com');