Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jmap_ical: use verbatim RELTYPE parameter value #5187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rsto
Copy link
Member

@rsto rsto commented Dec 24, 2024

Recent libical icalparameter_get_xvalue returns NULL if the parameter value actually isn't an x-enum value. This patch changes reading RELTYPE as either an IANA-enum or X-enum value, rather than special-casing a few known relation types when setting the relatedTo property in JSCalendar.

Recent libical icalparameter_get_xvalue returns NULL if the
parameter value actually isn't an x-enum value. This patch
changes reading RELTYPE as either an IANA-enum or X-enum value,
rather than special-casing a few known relation types when
setting the relatedTo property in JSCalendar.
@rsto rsto requested a review from ksmurchison December 24, 2024 09:59
@rsto
Copy link
Member Author

rsto commented Dec 24, 2024

Testing is done by passing the following existing tests again:

  • JMAPCalendars.calendarevent_get_relatedto
  • JMAPCalendars.calendarevent_set_relatedto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants