mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-01 00:07:01 +00:00
Stalwart 1.0 refuses a CalendarEvent/get that asks for recurrenceOverrides together with utcStart or utcEnd, and every event read of the app did. The calendar showed a raw error over stale events, and tasks, reminders, "all events" edits, contact activity, the invitation banner's UID look-up and iCal subscriptions stopped working. Subscriptions and imports also lost their UID check, so every sync tried to create the whole feed again and ended in refusals. - read a stored event's overrides with a second get in the same request; server-expanded occurrences get them from their base event as before - read only ids, UIDs and calendars for the import and subscription UID look-ups - fail a read when either get answers with an error, so the calendar keeps the events it has and shows the error - keep the JMAP error type on calendar method errors (JMAPMethodError, plus a shared jmapErrorType helper in jmap-result) 0.16 accepts the split reads and returns the same events.