evolution-data-server/bnc-440265-list-not-saved.patch

13 lines
426 B
Diff

--- addressbook/backends/groupwise/e-book-backend-groupwise.c
+++ addressbook/backends/groupwise/e-book-backend-groupwise.c
@@ -848,6 +848,9 @@ set_members_in_gw_item (EGwItem *item, EContact *contact, EBookBackendGroupwise
email = v ? v->data : NULL;
}
}
+
+ if (!id && !email)
+ email = e_vcard_attribute_get_value (attr);
if (id) {
member = g_new0 (EGroupMember , 1);
member->id = g_strdup (id);