diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-05-31 08:24:02 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-05-31 08:24:02 (GMT) |
commit | 23828328c1e13dfe17764baa4b6b8c6490af18a6 (patch) | |
tree | 577c669c586950fb42c46c7697eac4a0610ef590 /Swift | |
parent | e7db09d201280cb64de649f5e33ca13d82045f38 (diff) | |
download | swift-contrib-23828328c1e13dfe17764baa4b6b8c6490af18a6.zip swift-contrib-23828328c1e13dfe17764baa4b6b8c6490af18a6.tar.bz2 |
Don't report encrypted connections once disconnected.
Resolves: #1126
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/Controllers/MainController.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp index cb43057..53387ca 100644 --- a/Swift/Controllers/MainController.cpp +++ b/Swift/Controllers/MainController.cpp @@ -512,6 +512,9 @@ void MainController::performLoginFromCachedCredentials() { } void MainController::handleDisconnected(const boost::optional<ClientError>& error) { + if (rosterController_) { + rosterController_->getWindow()->setStreamEncryptionStatus(false); + } if (settings_->getSetting(SettingConstants::FORGET_PASSWORDS)) { purgeCachedCredentials(); } |