1 # Publishing a nickname in PEP and receiving a notification
4 jid: romeo@localhost/nJi7BeTR
12 <iq id="4" type="set">
13 <pubsub xmlns="http://jabber.org/protocol/pubsub">
14 <publish node="http://jabber.org/protocol/nick">
16 <nickname xmlns="http://jabber.org/protocol/nick"/>
23 <iq id="4" to="romeo@localhost/nJi7BeTR" type="result">
24 <pubsub xmlns="http://jabber.org/protocol/pubsub">
25 <publish node="http://jabber.org/protocol/nick">
33 <c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://code.matthewwild.co.uk/clix/" ver="jC32N+FhQoLrZ7nNQtZK3aqR0Fk="/>
37 <iq id="disco" to="romeo@localhost/nJi7BeTR" from="romeo@localhost" type="get">
38 <query xmlns="http://jabber.org/protocol/disco#info" node="http://code.matthewwild.co.uk/clix/#jC32N+FhQoLrZ7nNQtZK3aqR0Fk="/>
42 <presence from="romeo@localhost/nJi7BeTR">
43 <c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://code.matthewwild.co.uk/clix/" ver="jC32N+FhQoLrZ7nNQtZK3aqR0Fk="/>
47 <iq id="disco" type="result" to="romeo@localhost">
48 <query xmlns="http://jabber.org/protocol/disco#info" node="http://code.matthewwild.co.uk/clix/#jC32N+FhQoLrZ7nNQtZK3aqR0Fk=">
49 <identity type="console" name="clix" category="client"/>
50 <feature var="http://jabber.org/protocol/disco#items"/>
51 <feature var="http://jabber.org/protocol/disco#info"/>
52 <feature var="http://jabber.org/protocol/caps"/>
53 <feature var="http://jabber.org/protocol/nick+notify"/>
58 <message type="headline" from="romeo@localhost" to="romeo@localhost/nJi7BeTR">
59 <event xmlns="http://jabber.org/protocol/pubsub#event">
60 <items node="http://jabber.org/protocol/nick">
62 <nickname xmlns="http://jabber.org/protocol/nick"/>
69 <presence type="unavailable"/>