mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Save the database with the new propagator
This commit is contained in:
parent
3a57eb1b54
commit
ef1a47a5a2
@ -832,6 +832,10 @@ int csync_commit(CSYNC *ctx) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* We need to save the database even if another propagator was run */
|
||||
if (ctx->status_code == CSYNC_STATUS_OK && ctx->status & CSYNC_STATUS_RECONCILE)
|
||||
ctx->status = CSYNC_STATUS_DONE;
|
||||
|
||||
ctx->status_code = CSYNC_STATUS_OK;
|
||||
|
||||
rc = _merge_and_write_statedb(ctx);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user