Files
webmail/lib
Linus Rath 75b432e957 fix: reach attendees who answered with series splits and first edits
Stalwart sends a new event, and an occurrence that gets its own override
for the first time, only to attendees who have not answered (PARTSTAT
absent or NEEDS-ACTION); a change to an existing event or override goes
to everyone who has not declined. Since the editor keeps the attendees'
answers on a save (4c20b09c), two edits never reached the attendees who
had accepted (live on 1.0 and 0.16.23):

- "This and following events" made the rest of the series a new event
  with the answers the old one had, so those attendees got nothing, and
  it ended the old series without scheduling messages, so they kept
  every occurrence of it. The new series now asks every attendee again,
  and the old one is shortened with scheduling messages when the user
  organizes it and sends invitations; a failed create puts it back the
  same way. Deleting "this and following events" ends the series the
  same way.
- The first change to one occurrence that keeps the answers - a new
  title, another room - was sent only to attendees who had not
  answered. When the user organizes the event, sends invitations and
  an attendee has answered, the store now gives the occurrence its
  override first, as it is and without messages, finds it again
  (0.16.20 renumbers synthetic ids once an override exists) and then
  writes the change with messages. The attendee gets the update and
  keeps their answer. This works through synthetic ids (0.16.20 on,
  1.0) and as an override on the base event (older 0.16, and ranges
  expanded in the browser).
2026-09-26 00:23:28 +02:00
..
2026-09-03 22:12:15 -07:00
2026-04-16 19:07:42 +02:00