util.x509: Nameprep commonName once
[prosody.git] / spec / scansion / muc_whois_anyone_member.scs
blob9a6f7e1501dbd6216392d41cc1caa835629c8824
1 # MUC: Allow members to fetch the affiliation lists in open non-anonymous rooms
3 [Client] Romeo
4         jid: romeo@localhost/MsliYo9C
5         password: password
7 [Client] Juliet
8         jid: juliet@localhost/vJrUtY4Z
9         password: password
11 -----
13 Romeo connects
15 Romeo sends:
16         <presence to='issue1230@conference.localhost/romeo'>
17         <x xmlns='http://jabber.org/protocol/muc'/>
18         </presence>
20 Romeo receives:
21         <presence from='issue1230@conference.localhost/romeo'>
22         <x xmlns='http://jabber.org/protocol/muc#user'>
23         <status code='201'/>
24         <item jid="${Romeo's JID}" role='moderator' affiliation='owner'/>
25         <status code='110'/>
26         </x>
27         </presence>
29 Romeo receives:
30         <message from='issue1230@conference.localhost' type='groupchat'>
31         <subject/>
32         </message>
34 Romeo sends:
35         <iq id='lx3' type='set' to='issue1230@conference.localhost'>
36         <query xmlns='http://jabber.org/protocol/muc#owner'>
37         <x type='submit' xmlns='jabber:x:data'>
38         <field var='FORM_TYPE'>
39         <value>http://jabber.org/protocol/muc#roomconfig</value>
40         </field>
41         <field var='muc#roomconfig_whois'>
42         <value>anyone</value>
43         </field>
44         </x>
45         </query>
46         </iq>
48 Romeo receives:
49         <iq from='issue1230@conference.localhost' type='result' id='lx3'/>
51 Romeo receives:
52         <message from='issue1230@conference.localhost' type='groupchat'>
53         <x xmlns='http://jabber.org/protocol/muc#user'>
54         <status code='172'/>
55         </x>
56         </message>
58 Juliet connects
60 Juliet sends:
61         <presence to='issue1230@conference.localhost/juliet'>
62         <x xmlns='http://jabber.org/protocol/muc'/>
63         </presence>
65 Juliet receives:
66         <presence from='issue1230@conference.localhost/romeo'>
67         <x xmlns='http://jabber.org/protocol/muc#user'>
68         <item jid="${Romeo's JID}" role='moderator' affiliation='owner'/>
69         </x>
70         </presence>
72 Juliet receives:
73         <presence from='issue1230@conference.localhost/juliet'>
74         <x xmlns='http://jabber.org/protocol/muc#user'>
75         <status code='100'/>
76         <item jid="${Juliet's JID}" role='participant' affiliation='none'/>
77         <status code='110'/>
78         </x>
79         </presence>
81 Juliet receives:
82         <message from='issue1230@conference.localhost' type='groupchat'>
83         <subject/>
84         </message>
86 Juliet sends:
87         <iq id='lx2' type='get' to='issue1230@conference.localhost'>
88         <query xmlns='http://jabber.org/protocol/muc#admin'>
89         <item affiliation='member'/>
90         </query>
91         </iq>
93 Juliet receives:
94         <iq from='issue1230@conference.localhost' type='result' id='lx2'>
95         <query xmlns='http://jabber.org/protocol/muc#admin'/>
96         </iq>
98 Juliet disconnects
100 Romeo disconnects