util.encodings: Spell out all IDNA 2008 options ICU has
[prosody.git] / spec / scansion / muc_create_destroy.scs
blob4b16fbf2b143bf11bca4a7457b597e15a85fcadb
1 # MUC creation, basic messages and destruction
3 [Client] Romeo
4         jid: romeo@localhost/mK0dD6Ha
5         password: password
7 [Client] Juliet
8         jid: juliet@localhost/lVwkim_k
9         password: password
11 -----
13 Romeo connects
15 Romeo sends:
16         <presence to="garden@conference.localhost/romeo">
17                 <x xmlns="http://jabber.org/protocol/muc"/>
18         </presence>
20 Romeo receives:
21         <presence from="garden@conference.localhost/romeo">
22                 <x xmlns="vcard-temp:x:update"/>
23                 <x xmlns="http://jabber.org/protocol/muc#user">
24                         <status code="201"/>
25                         <item affiliation="owner" jid="${Romeo's full JID}" role="moderator"/>
26                         <status code="110"/>
27                 </x>
28         </presence>
30 Romeo receives:
31         <message from="garden@conference.localhost" type="groupchat">
32                 <subject/>
33         </message>
35 Romeo sends:
36         <iq to="garden@conference.localhost" id="lx3" type="set">
37                 <query xmlns="http://jabber.org/protocol/muc#owner">
38                         <x type="submit" xmlns="jabber:x:data"/>
39                 </query>
40         </iq>
42 Romeo receives:
43         <iq id="lx3" type="result" from="garden@conference.localhost"/>
45 Juliet connects
47 Romeo sends:
48         <message to="garden@conference.localhost" type="groupchat" id="rm1">
49                 <body>Where are thou my Juliet?</body>
50         </message>
52 Romeo receives:
53         <message type="groupchat" from="garden@conference.localhost/romeo" id="rm1">
54                 <body>Where are thou my Juliet?</body>
55         </message>
57 Juliet sends:
58         <presence to="garden@conference.localhost/juliet">
59                 <x xmlns="http://jabber.org/protocol/muc"/>
60         </presence>
62 Juliet receives:
63         <presence from="garden@conference.localhost/romeo">
64                 <x xmlns="vcard-temp:x:update"/>
65                 <x xmlns="http://jabber.org/protocol/muc#user">
66                         <item affiliation="owner" role="moderator"/>
67                 </x>
68         </presence>
70 Juliet receives:
71         <presence from="garden@conference.localhost/juliet">
72                 <x xmlns="vcard-temp:x:update"/>
73                 <x xmlns="http://jabber.org/protocol/muc#user">
74                         <item affiliation="none" jid="${Juliet's full JID}" role="participant"/>
75                         <status code="110"/>
76                 </x>
77         </presence>
79 Juliet receives:
80         <message from="garden@conference.localhost/romeo" id="rm1" type="groupchat">
81                 <body>Where are thou my Juliet?</body>
82                 <delay stamp="{scansion:any}" xmlns="urn:xmpp:delay" from="garden@conference.localhost"/>
83                 <x stamp="{scansion:any}" xmlns="jabber:x:delay" from="garden@conference.localhost"/>
84         </message>
86 Juliet receives:
87         <message from="garden@conference.localhost" type="groupchat">
88                 <subject/>
89         </message>
91 Romeo receives:
92         <presence from="garden@conference.localhost/juliet">
93                 <x xmlns="vcard-temp:x:update"/>
94                 <x xmlns="http://jabber.org/protocol/muc#user">
95                         <item affiliation="none" jid="${Juliet's full JID}" role="participant"/>
96                 </x>
97         </presence>
99 Juliet sends:
100         <message to="garden@conference.localhost" type="groupchat" id="jm1">
101                 <body>/me jumps out from behind a tree</body>
102         </message>
104 Romeo receives:
105         <message type="groupchat" id="jm1" from="garden@conference.localhost/juliet">
106                 <body>/me jumps out from behind a tree</body>
107         </message>
109 Juliet receives:
110         <message type="groupchat" id="jm1" from="garden@conference.localhost/juliet">
111                 <body>/me jumps out from behind a tree</body>
112         </message>
114 Juliet sends:
115         <message to="garden@conference.localhost" type="groupchat" id="jm2">
116                 <body>Here I am!</body>
117         </message>
119 Romeo receives:
120         <message type="groupchat" id="jm2" from="garden@conference.localhost/juliet">
121                 <body>Here I am!</body>
122         </message>
124 Juliet receives:
125         <message type="groupchat" id="jm2" from="garden@conference.localhost/juliet">
126                 <body>Here I am!</body>
127         </message>
129 Romeo sends:
130         <message to="garden@conference.localhost" type="groupchat" id="rm2">
131                 <body>What is this place?</body>
132         </message>
134 Romeo receives:
135         <message type="groupchat" id="rm2" from="garden@conference.localhost/romeo">
136                 <body>What is this place?</body>
137         </message>
139 Juliet receives:
140         <message type="groupchat" id="rm2" from="garden@conference.localhost/romeo">
141                 <body>What is this place?</body>
142         </message>
144 Juliet sends:
145         <message to="garden@conference.localhost" type="groupchat" id="jm3">
146                 <body>I think we&apos;re in a script!</body>
147         </message>
149 Romeo receives:
150         <message type="groupchat" id="jm3" from="garden@conference.localhost/juliet">
151                 <body>I think we&apos;re in a script!</body>
152         </message>
154 Juliet receives:
155         <message type="groupchat" id="jm3" from="garden@conference.localhost/juliet">
156                 <body>I think we&apos;re in a script!</body>
157         </message>
159 Romeo sends:
160         <message to="garden@conference.localhost" type="groupchat" id="rm3">
161                 <body>Oh no! Does that mean our love is not real?!</body>
162         </message>
164 Romeo receives:
165         <message type="groupchat" id="rm3" from="garden@conference.localhost/romeo">
166                 <body>Oh no! Does that mean our love is not real?!</body>
167         </message>
169 Juliet receives:
170         <message type="groupchat" id="rm3" from="garden@conference.localhost/romeo">
171                 <body>Oh no! Does that mean our love is not real?!</body>
172         </message>
174 Juliet sends:
175         <message to="garden@conference.localhost" type="groupchat" id="jm4">
176                 <body>I refuse to accept this! Let&apos;s burn this place to the ground!</body>
177         </message>
179 Romeo receives:
180         <message type="groupchat" id="jm4" from="garden@conference.localhost/juliet">
181                 <body>I refuse to accept this! Let&apos;s burn this place to the ground!</body>
182         </message>
184 Juliet receives:
185         <message type="groupchat" id="jm4" from="garden@conference.localhost/juliet">
186                 <body>I refuse to accept this! Let&apos;s burn this place to the ground!</body>
187         </message>
189 Romeo sends:
190         <message to="garden@conference.localhost" type="groupchat" id="rm4">
191                 <body>Yes!</body>
192         </message>
194 Romeo receives:
195         <message type="groupchat" id="rm4" from="garden@conference.localhost/romeo">
196                 <body>Yes!</body>
197         </message>
199 Juliet receives:
200         <message type="groupchat" id="rm4" from="garden@conference.localhost/romeo">
201                 <body>Yes!</body>
202         </message>
204 Romeo sends:
205         <iq to="garden@conference.localhost" id="lx4" type="set">
206                 <query xmlns="http://jabber.org/protocol/muc#owner">
207                         <destroy>
208                                 <reason>We refuse to live in this fantasy!</reason>
209                         </destroy>
210                 </query>
211         </iq>
213 Juliet receives:
214         <presence from="garden@conference.localhost/juliet" type="unavailable">
215                 <x xmlns="http://jabber.org/protocol/muc#user">
216                         <destroy>
217                                 <reason>We refuse to live in this fantasy!</reason>
218                         </destroy>
219                         <item affiliation="none" jid="${Juliet's full JID}" role="none"/>
220                         <status code="110"/>
221                 </x>
222         </presence>
224 Romeo receives:
225         <presence from="garden@conference.localhost/romeo" type="unavailable">
226                 <x xmlns="http://jabber.org/protocol/muc#user">
227                         <destroy>
228                                 <reason>We refuse to live in this fantasy!</reason>
229                         </destroy>
230                         <item affiliation="owner" jid="${Romeo's full JID}" role="none"/>
231                         <status code="110"/>
232                 </x>
233         </presence>
235 Romeo receives:
236         <iq id="lx4" type="result" from="garden@conference.localhost"/>
238 Juliet disconnects
240 Romeo disconnects
242 # recording ended on 2019-08-31T13:45:32Z