diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-11-12 20:21:08 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-11-12 20:21:08 (GMT) |
commit | 48bb7441f913144d6a20687ff79264e4631156f0 (patch) | |
tree | 882bb5ca8e66eb7866baa3d90e53c5a3925e80cf /Swift/Controllers | |
parent | ee57df7619725e93efa5a6475282e7dc5a7fb6e7 (diff) | |
download | swift-contrib-48bb7441f913144d6a20687ff79264e4631156f0.zip swift-contrib-48bb7441f913144d6a20687ff79264e4631156f0.tar.bz2 |
Reconnect in the MainController check the Client's connectedness.
Diffstat (limited to 'Swift/Controllers')
-rw-r--r-- | Swift/Controllers/MainController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/MainController.cpp b/Swift/Controllers/MainController.cpp index bc16922..e7d67f7 100644 --- a/Swift/Controllers/MainController.cpp +++ b/Swift/Controllers/MainController.cpp @@ -193,7 +193,7 @@ void MainController::handleChangeStatusRequest(StatusShow::Type show, const Stri presence->setShow(show); } presence->setStatus(statusText); - if (presence->getType() != Presence::Unavailable && !client_) { + if (presence->getType() != Presence::Unavailable && !client_->isAvailable()) { performLoginFromCachedCredentials(); queuedPresence_ = presence; } else { |