You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Calendar lookup by name or id only searches the first calendar-home-set #890
With #889, get_calendars() lists the calendars under every href in a calendar-home-set (RFC 4791 section 6.2.1 allows several; Stalwart with WebDav.enableAssistedDiscovery off lists one per account sharing calendars with the user). Principal.calendar_home_set deliberately stays the first href, the user's own home, so that make_calendar() never creates a calendar in somebody else's home.
The lookups still go through calendar_home_set, though:
get_calendars(calendar_name=...) in caldav/base_client.py
So a shared calendar shows up in principal.get_calendars(), but looking it up by name or id raises NotFoundError or skips it. The lookups should search the combined list (or the docs should say they only cover the user's own home).
Activity