diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-04-07 21:07:26 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-04-07 21:12:02 (GMT) |
commit | 0313b451afbeffc33cc0060ce6fd7b4f2ee9a2bb (patch) | |
tree | ff8f07c75711c4fd76ccc6be222ad6d34076baf6 /Swift/Controllers | |
parent | 30ea03eb33cb6e33036c7a7011c2df78cff31025 (diff) | |
download | swift-0313b451afbeffc33cc0060ce6fd7b4f2ee9a2bb.zip swift-0313b451afbeffc33cc0060ce6fd7b4f2ee9a2bb.tar.bz2 |
Update your own status on login.
Resolves: #308
Diffstat (limited to 'Swift/Controllers')
-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 f18bd5a..2d3732c 100644 --- a/Swift/Controllers/MainController.cpp +++ b/Swift/Controllers/MainController.cpp @@ -237,6 +237,9 @@ void MainController::handleChangeStatusRequest(StatusShow::Type show, const Stri } void MainController::sendPresence(boost::shared_ptr<Presence> presence) { + rosterController_->getWindow()->setMyStatusType(presence->getShow()); + rosterController_->getWindow()->setMyStatusText(presence->getStatus()); + // Copy presence before adding extra information lastSentPresence_ = presence->clone(); |