Skip to content

Commit 1382a79

Browse files
alperozturk96backportbot[bot]
authored andcommitted
handle metadata worker edge cases
Signed-off-by: alperozturk <alper_ozturk@proton.me>
1 parent b9b11f3 commit 1382a79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/nextcloud/client/jobs/metadata/MetadataWorker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class MetadataWorker(private val context: Context, params: WorkerParameters, pri
102102

103103
if (!folder.isEtagChanged) {
104104
Log_OC.d(TAG, "Skipping ${folder.remotePath}, eTag didn't change")
105-
return@withContext false
105+
return@withContext true
106106
}
107107

108108
Log_OC.d(TAG, "⏳ Fetching metadata for: ${folder.remotePath}, id: ${folder.fileId}")

0 commit comments

Comments
 (0)