diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2022-04-13 13:16:31 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2022-04-13 13:32:23 +0300 |
commit | 5205defcd23a65d4e7ed889e005d082745bf340b (patch) | |
tree | 76bac4ccb71aef626be7e74a12876cc5c4da94b0 /src/gui/accountstate.cpp | |
parent | be544c3ade8e45f192c2aace4e1dc6d04e05162a (diff) |
Fix connectivity check
Diffstat (limited to 'src/gui/accountstate.cpp')
-rw-r--r-- | src/gui/accountstate.cpp | 4 |
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. |