Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: tobiasKaminsky <[email protected]>
  • Loading branch information
tobiasKaminsky authored and AndyScherzinger committed Nov 2, 2023
1 parent 8d20f12 commit 08269f3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 08269f3

Please sign in to comment.