Skip to content

Commit

Permalink
jmap_contact.c: assign some Address components to ADR extended field
Browse files Browse the repository at this point in the history
  • Loading branch information
ksmurchison committed Aug 11, 2023
1 parent 625fe4e commit b8a80ed
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions imap/jmap_contact.c
Original file line number Diff line number Diff line change
Expand Up @@ -5800,17 +5800,17 @@ static const struct comp_kind ext_adr_comp_kinds[] = {
{ "region", VCARD_ADR_REGION, VCARD_ADR_REGION, 0 },
{ "postcode", VCARD_ADR_POSTAL_CODE, VCARD_ADR_POSTAL_CODE, 0 },
{ "country", VCARD_ADR_COUNTRY, VCARD_ADR_COUNTRY, 0 },
{ "room", VCARD_ADR_ROOM, VCARD_ADR_STREET, 1 },
{ "apartment", VCARD_ADR_APARTMENT, VCARD_ADR_STREET, 1 },
{ "floor", VCARD_ADR_FLOOR, VCARD_ADR_STREET, 1 },
{ "name", VCARD_ADR_STREET_NAME, VCARD_ADR_STREET, 1 },
{ "room", VCARD_ADR_ROOM, VCARD_ADR_EXTENDED, 1 },
{ "floor", VCARD_ADR_FLOOR, VCARD_ADR_EXTENDED, 1 },
{ "apartment", VCARD_ADR_APARTMENT, VCARD_ADR_EXTENDED, 1 },
{ "building", VCARD_ADR_BUILDING, VCARD_ADR_EXTENDED, 1 },
{ "number", VCARD_ADR_STREET_NUMBER, VCARD_ADR_STREET, 1 },
{ "building", VCARD_ADR_BUILDING, VCARD_ADR_STREET, 1 },
{ "name", VCARD_ADR_STREET_NAME, VCARD_ADR_STREET, 1 },
{ "block", VCARD_ADR_BLOCK, VCARD_ADR_STREET, 1 },
{ "subdistrict", VCARD_ADR_SUBDISTRICT, VCARD_ADR_STREET, 1 },
{ "district", VCARD_ADR_DISTRICT, VCARD_ADR_STREET, 1 },
{ "direction", VCARD_ADR_DIRECTION, VCARD_ADR_STREET, 1 },
{ "landmark", VCARD_ADR_LANDMARK, VCARD_ADR_STREET, 1 },
{ "subdistrict", VCARD_ADR_SUBDISTRICT, VCARD_ADR_STREET, 1 },
{ "district", VCARD_ADR_DISTRICT, VCARD_ADR_STREET, 1 },
{ NULL, 0, 0, 0 }
};

Expand Down

0 comments on commit b8a80ed

Please sign in to comment.