mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-01 00:07:01 +00:00
Google Calendar leaves STATUS empty on the events and exceptions it creates, and CalendarProvider has no default for it. Device sync read the empty value as 0, STATUS_TENTATIVE, so every event and every "this event" edit made there uploaded as "tentative" and came back to the phone that way; a copy made with "Copy to" also never paired with the deleted original. An empty STATUS now sets no status: a create leaves `status` out, so the server keeps its default of confirmed, an override gets none of its own, an edited event never uploads one, a merge takes the server's without counting a conflict, and a pair ignores it. After the upload the rows hold the server's status. A new series from Etar's "this and following" also no longer uploads the old series' exclusions from before its start, which Etar copies into the new row's EXDATE. Checked with planner tests for each path and a run through the engine and the fake server.