Skip to content

Instantly share code, notes, and snippets.

@zeen
Created July 25, 2009 17:37
Show Gist options
  • Save zeen/154838 to your computer and use it in GitHub Desktop.
Save zeen/154838 to your computer and use it in GitHub Desktop.
<iq from="conference.jabber.org" to="waqas@example.com/resource" id="x" type="result">
<query xmlns="jabber:iq:register">
<registered />
<instructions>You need an x:data capable client to register nickname</instructions>
<x xmlns="jabber:x:data">
<title>Nickname Registration at conference.jabber.org</title>
<instructions>Enter nickname you want to register</instructions>
<field type="text-single" label="Nickname" var="nick">
<value>waqas</value>
</field>
</x>
</query>
</iq>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment