mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Fixed bug where we remove file which is newer on other replica.
This commit is contained in:
parent
fce3fd8d46
commit
08e6be673b
@ -98,7 +98,7 @@ static int csync_merge_algorithm_visitor(void *obj, void *data) {
|
||||
cur->instruction = CSYNC_INSTRUCTION_SYNC;
|
||||
} else {
|
||||
/* file on opposite replica is newer */
|
||||
cur->instruction = CSYNC_INSTRUCTION_REMOVE;
|
||||
cur->instruction = CSYNC_INSTRUCTION_NONE;
|
||||
}
|
||||
break;
|
||||
/* file on the other replica has not been modified */
|
||||
@ -127,7 +127,7 @@ static int csync_merge_algorithm_visitor(void *obj, void *data) {
|
||||
cur->instruction = CSYNC_INSTRUCTION_SYNC;
|
||||
} else {
|
||||
/* file on opposite replica is newer */
|
||||
cur->instruction = CSYNC_INSTRUCTION_REMOVE;
|
||||
cur->instruction = CSYNC_INSTRUCTION_NONE;
|
||||
}
|
||||
break;
|
||||
/* file on the other replica has not been modified */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user