util.encodings: Spell out all IDNA 2008 options ICU has
[prosody.git] / spec / scansion / pep_nickname.scs
blobf958ec75d99ea90a4a186fa618be9060e62dcad8
1 # Publishing a nickname in PEP and receiving a notification
3 [Client] Romeo
4         jid: romeo@localhost/nJi7BeTR
5         password: password
7 -----
9 Romeo connects
11 Romeo sends:
12         <iq id="4" type="set">
13           <pubsub xmlns="http://jabber.org/protocol/pubsub">
14             <publish node="http://jabber.org/protocol/nick">
15               <item id="current">
16                 <nickname xmlns="http://jabber.org/protocol/nick"/>
17               </item>
18             </publish>
19           </pubsub>
20         </iq>
22 Romeo receives:
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">
26               <item id="current"/>
27             </publish>
28           </pubsub>
29         </iq>
31 Romeo sends:
32         <presence>
33           <c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://code.matthewwild.co.uk/clix/" ver="jC32N+FhQoLrZ7nNQtZK3aqR0Fk="/>
34         </presence>
36 Romeo receives:
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="/>
39         </iq>
41 Romeo receives:
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="/>
44         </presence>
46 Romeo sends:
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"/>
54           </query>
55         </iq>
57 Romeo receives:
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">
61               <item id="current">
62                 <nickname xmlns="http://jabber.org/protocol/nick"/>
63               </item>
64             </items>
65           </event>
66         </message>
68 Romeo sends:
69         <presence type="unavailable"/>
71 Romeo disconnects