diff --git a/src/gui/accountstate.cpp b/src/gui/accountstate.cpp index b2e757448..dcd174392 100644 --- a/src/gui/accountstate.cpp +++ b/src/gui/accountstate.cpp @@ -230,7 +230,7 @@ void AccountState::checkConnectivity() std::chrono::milliseconds polltime = cfg.remotePollInterval(); if (isConnected() && _timeSinceLastETagCheck.isValid() - && _timeSinceLastETagCheck.hasExpired(polltime.count())) { + && !_timeSinceLastETagCheck.hasExpired(polltime.count())) { qCDebug(lcAccountState) << account()->displayName() << "The last ETag check succeeded within the last " << polltime.count() / 1000 << " secs. No connection check needed!"; return; }