Files
webmail/hooks
Linus Rath 9f7c12ab35 fix: tell attendees when someone with write access changes the owner's meeting
Someone who writes to a calendar shared with them (read & write) changes
the owner's meeting there on the owner's behalf: Stalwart sends the change
from the addresses of the account the event is in. Since 6d4b6954 Bulwark
decided who organizes by the user's own addresses only, so it took the
sharee for an attendee (live on 1.0 and 0.16.23):

- a drag, a resize or a month-view drop wrote the new time without
  scheduling messages: the attendees kept the old time and their answers
  while the owner's copy moved; before 6d4b6954 they got "Updated
  invitation"
- the editor wrote no participants, hid "Send invitations", showed the
  attendees read-only and sent nothing
- "All events" asked nobody again, and "This and following events" ended
  the series quietly and made the rest a new series without attendees

`userOrganizes` now also counts the organizer's own copy in another
account: `isOrigin`, which both versions compute from the addresses of
the account the event is in, true for the owner's meeting and every
expanded occurrence of it, false for an invitation the owner got. Such an
invitation is still changed without messages. The editor no longer drops
the user's own address from the attendees it opens with, only the
organizer's, so a sharee who attends the owner's meeting stays on it.
The demo's invitation from Alice now says it is not the demo user's copy.
2026-09-26 02:44:32 +02:00
..