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/UnitTest/RosterControllerTest.cpp | |
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/UnitTest/RosterControllerTest.cpp')
-rw-r--r-- | Swift/Controllers/UnitTest/RosterControllerTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/UnitTest/RosterControllerTest.cpp b/Swift/Controllers/UnitTest/RosterControllerTest.cpp index c8eb1dc..f57240f 100644 --- a/Swift/Controllers/UnitTest/RosterControllerTest.cpp +++ b/Swift/Controllers/UnitTest/RosterControllerTest.cpp @@ -44,7 +44,7 @@ class RosterControllerTest : public CppUnit::TestFixture xmppRoster_ = boost::shared_ptr<XMPPRoster>(new XMPPRoster()); avatarManager_ = NULL;//new AvatarManager(); mainWindowFactory_ = new MockMainWindowFactory(); - nickResolver_ = new NickResolver(xmppRoster_); + nickResolver_ = new NickResolver(jid_.toBare(), xmppRoster_, NULL); channel_ = new DummyIQChannel(); router_ = new IQRouter(channel_); stanzaChannel_ = new DummyStanzaChannel(); |