Blame SOURCES/evolution-ews-3.28.5-contact-country-forgotten.patch

095e69
diff -up evolution-ews-3.28.5/src/addressbook/e-book-backend-ews.c.contact-country-forgotten evolution-ews-3.28.5/src/addressbook/e-book-backend-ews.c
095e69
--- evolution-ews-3.28.5/src/addressbook/e-book-backend-ews.c.contact-country-forgotten	2018-07-30 16:01:00.000000000 +0200
095e69
+++ evolution-ews-3.28.5/src/addressbook/e-book-backend-ews.c	2018-09-27 18:31:47.485039155 +0200
095e69
@@ -700,6 +700,7 @@ add_physical_address (ESoapMessage *msg,
095e69
 	e_ews_message_write_string_parameter (msg, "Street", NULL, contact_addr->street);
095e69
 	e_ews_message_write_string_parameter (msg, "City", NULL, contact_addr->locality);
095e69
 	e_ews_message_write_string_parameter (msg, "State", NULL, contact_addr->region);
095e69
+	e_ews_message_write_string_parameter (msg, "CountryOrRegion", NULL, contact_addr->country);
095e69
 	e_ews_message_write_string_parameter (msg, "PostalCode", NULL, contact_addr->code);
095e69
 
095e69
 	e_soap_message_end_element (msg);
095e69
@@ -1191,6 +1192,8 @@ compare_address (ESoapMessage *message,
095e69
 		convert_indexed_contact_property_to_updatexml_physical_address (message, "PhysicalAddress", "City", new_address->locality, "contacts", "PhysicalAddresses", key);
095e69
 	if (set || g_strcmp0 (new_address->region, old_address->region) != 0)
095e69
 		convert_indexed_contact_property_to_updatexml_physical_address (message, "PhysicalAddress", "State", new_address->region, "contacts", "PhysicalAddresses", key);
095e69
+	if (set || g_strcmp0 (new_address->country, old_address->country) != 0)
095e69
+		convert_indexed_contact_property_to_updatexml_physical_address (message, "PhysicalAddress", "CountryOrRegion", new_address->country, "contacts", "PhysicalAddresses", key);
095e69
 	if (set || g_strcmp0 (new_address->code, old_address->code) != 0)
095e69
 		convert_indexed_contact_property_to_updatexml_physical_address (message, "PhysicalAddress", "PostalCode", new_address->code, "contacts", "PhysicalAddresses", key);
095e69
 
095e69
diff -up evolution-ews-3.28.5/src/server/e-ews-item.c.contact-country-forgotten evolution-ews-3.28.5/src/server/e-ews-item.c
095e69
--- evolution-ews-3.28.5/src/server/e-ews-item.c.contact-country-forgotten	2018-07-30 16:01:00.000000000 +0200
095e69
+++ evolution-ews-3.28.5/src/server/e-ews-item.c	2018-09-27 18:31:47.485039155 +0200
095e69
@@ -686,7 +686,7 @@ ews_get_physical_address (ESoapParameter
095e69
 	if (subparam)
095e69
 		address->state = e_soap_parameter_get_string_value (subparam);
095e69
 
095e69
-	subparam = e_soap_parameter_get_first_child_by_name (param, "Country");
095e69
+	subparam = e_soap_parameter_get_first_child_by_name (param, "CountryOrRegion");
095e69
 	if (subparam)
095e69
 		address->country = e_soap_parameter_get_string_value (subparam);
095e69