Open titanism opened 6 months ago
Per https://github.com/mozilla/releases-comm-central/blob/2e0cd2b03bea7839120f79db06476733e964e5ae/calendar/base/modules/utils/calItemUtils.sys.mjs#L407-L417 the following two properties need added:
X-MOZ-LASTACK
X-MOZ-GENERATION
The change would look like this:
compareContent(aFirstItem, aSecondItem, aIgnoreProps, aIgnoreParams) { const ignoreProps = arr2hash( aIgnoreProps || [ "SEQUENCE", "DTSTAMP", "LAST-MODIFIED", "X-MOZ-GENERATION", "X-MICROSOFT-DISALLOW-COUNTER", "X-MOZ-SEND-INVITATIONS", "X-MOZ-SEND-INVITATIONS-UNDISCLOSED", + "X-MOZ-LASTACK", + "X-MOZ-GENERATION", ] );
A simple diff using diff -u a.ics b.ics | diff-so-fancy of a calendar synchronization of ICS files shows that these two properties are the only ones that change outside the ignored ones:
diff -u a.ics b.ics | diff-so-fancy
Adding this might actually cause errors with generation mismatch.
generation mismatch
Per https://github.com/mozilla/releases-comm-central/blob/2e0cd2b03bea7839120f79db06476733e964e5ae/calendar/base/modules/utils/calItemUtils.sys.mjs#L407-L417 the following two properties need added:
X-MOZ-LASTACK
X-MOZ-GENERATION
The change would look like this:
A simple diff using
diff -u a.ics b.ics | diff-so-fancy
of a calendar synchronization of ICS files shows that these two properties are the only ones that change outside the ignored ones: