mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 08:13:50 +00:00
While an event or task uses its calendar's default alerts, Stalwart 1.0 shows those defaults in `alerts` instead of the item's own, and drops alerts under the default alerts' ids on save. The event editor renamed every alert to alert1..N and sent them on every save, with the defaults left on, so on 1.0 an alert change never showed up again, and every save stored hidden copies of the defaults. - send `alerts` only when the user changed them; untouched alerts keep their id and stay exactly as they were - when the alerts of an item that uses the defaults change, turn the defaults off for it (`useDefaultAlerts: false`, as the native app does) and give its alerts ids of their own, in the event and the task editor The local reminder engine reads either the calendar's defaults or the item's own alerts, never both, so the defaults 1.0 fills in do not fire twice.