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 committed Oct 18, 2023
1 parent 8480571 commit 6c19067
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 6c19067

Please sign in to comment.