diff -r 891823d8dd7b -r ebac6e1ac190 dav/sync.c --- a/dav/sync.c Sun Apr 07 14:08:45 2019 +0200 +++ b/dav/sync.c Sun Apr 07 14:18:13 2019 +0200 @@ -3443,6 +3443,13 @@ if(up_res) { (*counter)++; + // set metadata + MetadataHashes hashes; + hashes = sync_set_metadata_properties(dir, up_res->session, up_res, local); + if(dav_store(up_res)) { + fprintf(stderr, "Error: cannot store resource metadata\n"); + } + // everything seems fine, we can update the local resource char *etag = dav_get_string_property(up_res, "D:getetag"); if(etag) {