Wed, 23 Oct 2019 20:10:55 +0200
fix detection of changed tags
dav/sync.c | file | annotate | diff | comparison | revisions |
--- a/dav/sync.c Sun Oct 20 11:11:22 2019 +0200 +++ b/dav/sync.c Wed Oct 23 20:10:55 2019 +0200 @@ -2840,7 +2840,10 @@ // set res->metadata_updated to 1 in case any metadata has changed // check if tags have changed - if(dir->tagconfig && dir->tagconfig->detect_changes && !res->tags_updated) { + if(db_res->tags_updated) { + res->tags_updated = 1; + res->metadata_updated = 1; + } else if(dir->tagconfig && dir->tagconfig->detect_changes ) { UcxBuffer *tags = sync_get_file_tag_data(dir, res); if(tags) { if(db_res->tags_hash) {