diff options
| author | Kevin Smith <git@kismith.co.uk> | 2009-11-05 22:05:15 (GMT) | 
|---|---|---|
| committer | Kevin Smith <git@kismith.co.uk> | 2009-11-05 22:06:16 (GMT) | 
| commit | 3fbab3b40dfc31da46924f13984415b18087a8d4 (patch) | |
| tree | 161e6a8f4479153120fc61548bd6407f260f347f /Swift/Controllers/XMPPRosterController.cpp | |
| parent | ff9b04252cbdd3bda5f1d01e1bad4a077f99791b (diff) | |
| download | swift-3fbab3b40dfc31da46924f13984415b18087a8d4.zip swift-3fbab3b40dfc31da46924f13984415b18087a8d4.tar.bz2 | |
A block of the work for roster pushes.
Still needs unit testing
Diffstat (limited to 'Swift/Controllers/XMPPRosterController.cpp')
| -rw-r--r-- | Swift/Controllers/XMPPRosterController.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/Swift/Controllers/XMPPRosterController.cpp b/Swift/Controllers/XMPPRosterController.cpp index e1716e6..d089cff 100644 --- a/Swift/Controllers/XMPPRosterController.cpp +++ b/Swift/Controllers/XMPPRosterController.cpp @@ -33,6 +33,7 @@ void XMPPRosterController::requestRoster() {  void XMPPRosterController::handleRosterReceived(boost::shared_ptr<RosterPayload> rosterPayload) {  	foreach(const RosterItemPayload& item, rosterPayload->getItems()) { +		//Don't worry about the updated case, the XMPPRoster sorts that out.  		if (item.getSubscription() == RosterItemPayload::Remove) {  			xmppRoster_->removeContact(item.getJID());  		} else { | 
 Swift
 Swift