Sat, 10 Aug 2019 19:18:29 +0200
add missing isdirectory tag in db on push
dav/sync.c | file | annotate | diff | comparison | revisions |
--- a/dav/sync.c Sat Aug 10 14:25:03 2019 +0200 +++ b/dav/sync.c Sat Aug 10 19:18:29 2019 +0200 @@ -2739,9 +2739,13 @@ if(nullstrcmp(db_res->link_target, res->link_target)) { res->link_updated = 1; - } else if(db_res->last_modified == res->last_modified && db_res->size == res->size) { + } else if( + db_res->last_modified == res->last_modified && + db_res->size == res->size && + db_res->isdirectory == res->isdirectory) + { return 0; - } + } if(db_res->parts) { // if the resource is splitted, move the part infos to the new