Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2022-04-13 13:16:31 +0300
committerHannah von Reth <vonreth@kde.org>2022-04-13 13:32:23 +0300
commit5205defcd23a65d4e7ed889e005d082745bf340b (patch)
tree76bac4ccb71aef626be7e74a12876cc5c4da94b0 /src/gui/accountstate.cpp
parentbe544c3ade8e45f192c2aace4e1dc6d04e05162a (diff)
Fix connectivity check
Diffstat (limited to 'src/gui/accountstate.cpp')
-rw-r--r--src/gui/accountstate.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/accountstate.cpp b/src/gui/accountstate.cpp
index 80b32cc16..2a4216eec 100644
--- a/src/gui/accountstate.cpp
+++ b/src/gui/accountstate.cpp
@@ -280,6 +280,10 @@ void AccountState::checkConnectivity(bool blockJobs)
account()->credentials()->fetchFromKeychain();
return;
}
+ // we are not properly setup yet
+ if (!account()->hasCapabilities()) {
+ return;
+ }
// IF the account is connected the connection check can be skipped
// if the last successful etag check job is not so long ago.