summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-04-07 21:07:26 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-04-07 21:12:02 (GMT)
commit0313b451afbeffc33cc0060ce6fd7b4f2ee9a2bb (patch)
treeff8f07c75711c4fd76ccc6be222ad6d34076baf6 /Swift
parent30ea03eb33cb6e33036c7a7011c2df78cff31025 (diff)
downloadswift-0313b451afbeffc33cc0060ce6fd7b4f2ee9a2bb.zip
swift-0313b451afbeffc33cc0060ce6fd7b4f2ee9a2bb.tar.bz2
Update your own status on login.
Resolves: #308
Diffstat (limited to 'Swift')
-rw-r--r--Swift/Controllers/MainController.cpp3
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();