Skip to content

Instantly share code, notes, and snippets.

@legastero
Created June 2, 2010 21:52
Show Gist options
  • Save legastero/423058 to your computer and use it in GitHub Desktop.
Save legastero/423058 to your computer and use it in GitHub Desktop.
Disco Example
#xmpp is a SleekXMPP object
xmpp['xep_0030'].nodes['foo'].addIdentity('category', 'type', 'name')
# - or -
xmpp['xep_0030'].add_identity('category', 'type', 'name', node='foo')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment