mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Only use etag to know if we should use the db or not
Null file id might just mean the server don't support file id. So use the database even if fileid is null
This commit is contained in:
parent
0b5f1e6dd2
commit
8c4ecb4fba
@ -440,7 +440,7 @@ static int _check_read_from_db(CSYNC *ctx, const char *uri) {
|
||||
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG, "Compare directory ids for %s: %s -> %s", mpath, md5_local, md5_remote );
|
||||
|
||||
if( strlen(tmp->file_id) > 0 && c_streq(md5_local, md5_remote) ) {
|
||||
if( c_streq(md5_local, md5_remote) ) {
|
||||
ctx->remote.read_from_db = 1;
|
||||
}
|
||||
SAFE_FREE(md5_remote);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user