mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Only request the id for REMOTE_REPLICA after mkdir
This commit is contained in:
parent
fa0c458bb3
commit
58aaf98369
@ -914,10 +914,12 @@ static int _csync_new_dir(CSYNC *ctx, csync_file_stat_t *st) {
|
||||
|
||||
csync_vio_utimes(ctx, uri, times);
|
||||
|
||||
tmd5 = _get_md5(ctx, st->path);
|
||||
if(tmd5) {
|
||||
if (ctx->replica == REMOTE_REPLICA) {
|
||||
tmd5 = _get_md5(ctx, st->path);
|
||||
if(tmd5) {
|
||||
SAFE_FREE(st->md5);
|
||||
st->md5 = tmd5;
|
||||
}
|
||||
}
|
||||
|
||||
/* set instruction for the statedb merger */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user