diff --git a/cockatrice/src/remoteclient.cpp b/cockatrice/src/remoteclient.cpp index cd664d36..f63ce12d 100644 --- a/cockatrice/src/remoteclient.cpp +++ b/cockatrice/src/remoteclient.cpp @@ -152,7 +152,7 @@ void RemoteClient::loginResponse(const Response &response) if (resp.missing_features_size() > 0 && settingsCache->getNotifyAboutUpdates()) emit notifyUserAboutUpdate(); - } else { + } else if (response.response_code() != Response::RespNotConnected) { QList missingFeatures; if (resp.missing_features_size() > 0) { for (int i = 0; i < resp.missing_features_size(); ++i) @@ -379,4 +379,4 @@ QString RemoteClient::getSrvClientID(const QString _hostname) } QString uniqueServerClientID = QCryptographicHash::hash(srvClientID.toUtf8(), QCryptographicHash::Sha1).toHex().right(15); return uniqueServerClientID; -} \ No newline at end of file +}