mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Folder: Check etag again after active sync #4116
Maybe more things were happening on the server?
This commit is contained in:
parent
bf8151a8ad
commit
755b18db61
@ -817,6 +817,17 @@ void Folder::slotSyncFinished(bool success)
|
||||
void Folder::slotEmitFinishedDelayed()
|
||||
{
|
||||
emit syncFinished(_syncResult);
|
||||
|
||||
// Immediately check the etag again if there was some sync activity.
|
||||
if ((_syncResult.status() == SyncResult::Success
|
||||
|| _syncResult.status() == SyncResult::Problem)
|
||||
&& (_syncResult.firstItemDeleted()
|
||||
|| _syncResult.firstItemNew()
|
||||
|| _syncResult.firstItemRenamed()
|
||||
|| _syncResult.firstItemUpdated()
|
||||
|| _syncResult.firstNewConflictItem())) {
|
||||
slotRunEtagJob();
|
||||
}
|
||||
}
|
||||
|
||||
// the progress comes without a folder and the valid path set. Add that here
|
||||
|
||||
Loading…
Reference in New Issue
Block a user