mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 08:13:50 +00:00
The agenda sidecar queried only the session's primary calendar account, so events in a shared or group account (a family or team calendar) never reached the Calendar Agenda plugin, although the calendar app shows them. Read every account the calendar app reads: the primary account plus accounts that advertise the calendar capability or are not personal, mirroring the client's getCalendarCapableAccountIds(). Event and calendar ids repeat across accounts, so the DTO id is scoped as <accountId>:<id> and carries accountId; calendar colours are looked up per account. A shared account whose calendars cannot be read is skipped instead of failing the whole agenda; a failure of the primary account is still reported. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>