From 08269f31330587215cdc38acf06a9453c7730ad4 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Tue, 10 Oct 2023 09:54:30 +0200 Subject: [PATCH] wip Signed-off-by: tobiasKaminsky --- app/src/main/java/com/nextcloud/client/jobs/FilesUploadWorker.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/nextcloud/client/jobs/FilesUploadWorker.kt b/app/src/main/java/com/nextcloud/client/jobs/FilesUploadWorker.kt index ffd68c78ba1d..63e1e956851a 100644 --- a/app/src/main/java/com/nextcloud/client/jobs/FilesUploadWorker.kt +++ b/app/src/main/java/com/nextcloud/client/jobs/FilesUploadWorker.kt @@ -111,6 +111,7 @@ class FilesUploadWorker( for (upload in uploads) { // create upload file operation if (user.isPresent) { + // TODO if any pending upload has quota exceeded or user disabled, try this before starting all! if (upload.lastResult == UploadResult.QUOTA_EXCEEDED) { val client = factory.getNextcloudClientFor(user.get().toOwnCloudAccount(), context) val userInfo = GetUserInfoRemoteOperation().execute(client)