Skip to content

Commit

Permalink
jmap_contact.c: properly map AUTHOR/AUTHOR-NAME to uri/name
Browse files Browse the repository at this point in the history
  • Loading branch information
ksmurchison committed Aug 22, 2023
1 parent 840b018 commit f311a76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imap/jmap_contact.c
Original file line number Diff line number Diff line change
Expand Up @@ -5984,12 +5984,12 @@ static void _add_vcard_params(json_t *obj, vcardproperty *prop,
continue;

case VCARD_AUTHOR_PARAMETER:
key = "name";
key = "uri";

GCC_FALLTHROUGH

case VCARD_AUTHORNAME_PARAMETER:
if (!key) key = "uri";
if (!key) key = "name";

if (prop_kind == VCARD_NOTE_PROPERTY) {
json_t *author =
Expand Down

0 comments on commit f311a76

Please sign in to comment.