Skip to content

Instantly share code, notes, and snippets.

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