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 Contacts: preserve x-properties in Contact/copy #4987

Merged
merged 5 commits into from
Jul 30, 2024

Conversation

rsto
Copy link
Member

@rsto rsto commented Jul 26, 2024

This updates the Contact/copy method of the non-standard Contact object type to preserve arbitrary x-properties in the copied vCard.

It adds the vCardProps property as defined in https://www.rfc-editor.org/rfc/rfc9555.html#name-vcardprops to the Contact object type The implementation is for Cyrus-internal use only and Contact/set and Contact/get reject this property as unknown.

Also contained in this PR is a related, minor fix: Contact/set now replaces rather than adds the non-standard phonetic contact properties.

@rsto rsto requested a review from ksmurchison July 26, 2024 09:05
@rsto rsto force-pushed the jmap_copy_preserve_xprops branch from cd5bba9 to b0694cc Compare July 29, 2024 06:55
Copy link
Contributor

@ksmurchison ksmurchison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rsto rsto merged commit e353858 into cyrusimap:master Jul 30, 2024
1 check passed
@rsto rsto deleted the jmap_copy_preserve_xprops branch July 30, 2024 05:38
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