Bug #640594 - Save also UID/REV in WebDAV backend (for CardDAV)
authorMilan Crha <mcrha@redhat.com>
Mon, 22 Oct 2012 09:24:09 +0000 (11:24 +0200)
committerMilan Crha <mcrha@redhat.com>
Mon, 22 Oct 2012 09:24:09 +0000 (11:24 +0200)
addressbook/backends/webdav/e-book-backend-webdav.c

index 1b28e0e..7478d4c 100644 (file)
@@ -241,10 +241,6 @@ upload_contact (EBookBackendWebdav *webdav,
                }
        }
 
-       /* don't upload the UID and REV fields, they're only interesting inside
-        * evolution and not on the webdav server */
-       e_contact_set (contact, E_CONTACT_UID, NULL);
-       e_contact_set (contact, E_CONTACT_REV, NULL);
        request = e_vcard_to_string (E_VCARD (contact), EVC_FORMAT_VCARD_30);
        soup_message_set_request (
                message, "text/vcard", SOUP_MEMORY_TEMPORARY,