mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-02 16:15:39 +00:00
Persisted calendar subscriptions were matched to an account by the bare JMAP account id, or not at all for subscriptions saved by older builds, and to their calendar by a bare id. Stalwart hands out the same small ids on every server, so refreshing a subscription through another login diffed away the events of an unrelated calendar there, and "Remove" destroyed that calendar. The secret feed URLs also stayed in localStorage after signing out. - new subscriptions record their owner (server plus login name), and refresh, rename and remove act only through that login - a subscription without an owner is adopted only when its calendar id and name both exist in the account; otherwise it is left alone and removing it only drops the local record - signing out forgets that login's subscriptions, and a full sign-out clears them all