mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 16:13:15 +00:00
Clicking a new-mail notification opened `/mail/message/<id>` in whichever account was active. With several accounts signed in, that looked the id up in the wrong account: nothing opened, or a different message did and was marked read. The preview API now returns the cookie slot of the login that owns the notified account, the service worker adds it to the permalink (or links that account's Inbox for a group notification), and the app switches to the login on that slot before opening the message.