diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-03-22 20:37:30 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-03-22 20:37:30 (GMT) |
commit | 0c377fa93ffd8538da9e71ddc71d4e8c07600a22 (patch) | |
tree | fa655b09f94cdb9018bfad4aa1de3dba2d345969 /Swift/Controllers/XMPPRosterController.cpp | |
parent | 1ebd045cadb3585c846ea38c63d508e5aa6ec1e7 (diff) | |
download | swift-0c377fa93ffd8538da9e71ddc71d4e8c07600a22.zip swift-0c377fa93ffd8538da9e71ddc71d4e8c07600a22.tar.bz2 |
Can now accept roster subscriptions.
Diffstat (limited to 'Swift/Controllers/XMPPRosterController.cpp')
-rw-r--r-- | Swift/Controllers/XMPPRosterController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/XMPPRosterController.cpp b/Swift/Controllers/XMPPRosterController.cpp index d089cff..01e5169 100644 --- a/Swift/Controllers/XMPPRosterController.cpp +++ b/Swift/Controllers/XMPPRosterController.cpp @@ -37,7 +37,7 @@ void XMPPRosterController::handleRosterReceived(boost::shared_ptr<RosterPayload> if (item.getSubscription() == RosterItemPayload::Remove) { xmppRoster_->removeContact(item.getJID()); } else { - xmppRoster_->addContact(item.getJID(), item.getName(), item.getGroups()); + xmppRoster_->addContact(item.getJID(), item.getName(), item.getGroups(), item.getSubscription()); } } } |