Files
webmail/lib
Stefan Hildebrandt c49f13db28 fix: list a shared folder reachable through two logins only once in cross views
When a shared folder was reachable through two logged-in accounts (owner +
grantee, or two grantees), buildUnifiedAccountClients emitted one entry per
reaching login. All mail / All unread then listed each message twice and the
unread badge counted it twice.

dedupeUnifiedAccounts keeps each (owning JMAP account, mailbox) once: personal
entries win, shared entries keep only folders not already covered and are
dropped when none remain. The owner's own mailbox list is no longer overwritten
in accountMailboxes by a grantee's namespaced copy, so actions on the deduped
messages resolve trash/archive in the right id space.
2026-09-26 15:46:00 +02:00
..
2026-09-03 22:12:15 -07:00
2026-04-16 19:07:42 +02:00