diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-08-16 12:35:34 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-08-16 12:35:34 (GMT) |
commit | 2ef0428c1f9559454654546f3cce32155cf5409d (patch) | |
tree | baf692218db59e29385f128fd2ec3171918df172 /Swift/Controllers/MainController.cpp | |
parent | c16133bf881a4eeb988d17ff318e4833a524997e (diff) | |
download | swift-contrib-2ef0428c1f9559454654546f3cce32155cf5409d.zip swift-contrib-2ef0428c1f9559454654546f3cce32155cf5409d.tar.bz2 |
Now show my avatar and JID in the 'me view'.
At the moment it's my JID rather than my Name, because the NickResolver doesn't cope with our own Name.
Also: the name resizing sometimes doesn't work. If it doesn't for you, make the roster very wide and then slowly resize it down.
Diffstat (limited to 'Swift/Controllers/MainController.cpp')
-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 0f654e4..7a55d99 100644 --- a/Swift/Controllers/MainController.cpp +++ b/Swift/Controllers/MainController.cpp @@ -113,7 +113,7 @@ void MainController::handleConnected() { avatarManager_ = new AvatarManager(client_, client_, avatarStorage_, this); delete rosterController_; - rosterController_ = new RosterController(xmppRoster, avatarManager_, mainWindowFactory_, treeWidgetFactory_); + rosterController_ = new RosterController(jid_, xmppRoster, avatarManager_, mainWindowFactory_, treeWidgetFactory_, nickResolver_); rosterController_->onStartChatRequest.connect(boost::bind(&MainController::handleChatRequest, this, _1)); rosterController_->onJoinMUCRequest.connect(boost::bind(&MainController::handleJoinMUCRequest, this, _1, _2)); rosterController_->onChangeStatusRequest.connect(boost::bind(&MainController::handleChangeStatusRequest, this, _1, _2)); |