diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-10-08 14:28:18 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-10-08 14:28:18 (GMT) |
commit | 958928d499ceb846b185d75ba17d48f3dd962cef (patch) | |
tree | 80f55ed0c059a16a18261105b82bc44712fb553d /Swift | |
parent | c179a8dacdbef5bb75e2ad61756f5fe1e2f2e317 (diff) | |
download | swift-958928d499ceb846b185d75ba17d48f3dd962cef.zip swift-958928d499ceb846b185d75ba17d48f3dd962cef.tar.bz2 |
Regrouping nick-less contacts now correctly renders them as a JID in the roster.
Resolves: #606
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/Controllers/RosterController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/RosterController.cpp b/Swift/Controllers/RosterController.cpp index 55c99c5..15ed6a4 100644 --- a/Swift/Controllers/RosterController.cpp +++ b/Swift/Controllers/RosterController.cpp @@ -140,7 +140,7 @@ void RosterController::handleOnJIDUpdated(const JID& jid, const String& oldName, } foreach(const String& group, groups) { if (std::find(oldGroups.begin(), oldGroups.end(), group) == oldGroups.end()) { - roster_->addContact(jid, jid, xmppRoster_->getNameForJID(jid), group, avatarManager_->getAvatarPath(jid).string()); + roster_->addContact(jid, jid, name, group, avatarManager_->getAvatarPath(jid).string()); } } foreach(const String& group, oldGroups) { |