Skip to content

Instantly share code, notes, and snippets.

@benlangfeld
Created January 16, 2011 12:44
Show Gist options
  • Save benlangfeld/781753 to your computer and use it in GitHub Desktop.
Save benlangfeld/781753 to your computer and use it in GitHub Desktop.
2011-01-16 13:40:13.695 Cappuccino [trace]: StropheCappuccino stanza received that trigger selector : TNStropheRoster._didReceiveRosterPush:
Objective-J.js:4322011-01-16 13:40:13.696 Cappuccino [trace]: <iq xmlns='jabber:client' to='[email protected]/aa8bf5fefb41e4c1' type='result' id='318:roster'><query xmlns='jabber:iq:roster' ver='123'><item jid='[email protected]' subscription='both'><group>Consulting</group></item><item jid='[email protected]' name='ben' subscription='none'><group>Test Group</group></item><item jid='[email protected]' name='ben' subscription='both'><group>Test Group</group></item><item jid='[email protected]' name='bklang' subscription='both'><group>Test Group</group><group>Buddies</group></item></query></iq>
var rosterPushParams = [CPDictionary dictionaryWithObjectsAndKeys:@"iq", @"name", Strophe.NS.ROSTER, @"namespace", @"type", @"set"];
[_connection registerSelector:@selector(_didReceiveRosterPush:) ofObject:self withDict:rosterPushParams];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment