diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-08-27 11:58:06 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-08-27 11:58:06 (GMT) |
commit | 0571ecb72660dbdbe06d524eb62e5398dca45586 (patch) | |
tree | f3d525ea5450f49c1e06c407f1d7607aad6590a9 /Swift/Controllers/Chat | |
parent | 7ff89853f825f0601ac4ec2adfca19edd7863edf (diff) | |
download | swift-contrib-0571ecb72660dbdbe06d524eb62e5398dca45586.zip swift-contrib-0571ecb72660dbdbe06d524eb62e5398dca45586.tar.bz2 |
Use own nick at top of roster.
Currently doesn't work because onOwnVCardChanged isn't plumbed in.
Diffstat (limited to 'Swift/Controllers/Chat')
-rw-r--r-- | Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp b/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp index d5686bd..1676403 100644 --- a/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp +++ b/Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp @@ -60,7 +60,7 @@ public: eventController_ = new EventController(); chatWindowFactory_ = mocks_->InterfaceMock<ChatWindowFactory>(); xmppRoster_ = boost::shared_ptr<XMPPRoster>(new XMPPRoster()); - nickResolver_ = new NickResolver(xmppRoster_); + nickResolver_ = new NickResolver(jid_.toBare(), xmppRoster_, NULL); presenceOracle_ = new PresenceOracle(stanzaChannel_); serverDiscoInfo_ = boost::shared_ptr<DiscoInfo>(new DiscoInfo()); presenceSender_ = new PresenceSender(stanzaChannel_); |