aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion/muc_whois_anyone_member.scs
blob: 9a6f7e1501dbd6216392d41cc1caa835629c8824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# MUC: Allow members to fetch the affiliation lists in open non-anonymous rooms

[Client] Romeo
	jid: romeo@localhost/MsliYo9C
	password: password

[Client] Juliet
	jid: juliet@localhost/vJrUtY4Z
	password: password

-----

Romeo connects

Romeo sends:
	<presence to='issue1230@conference.localhost/romeo'>
	<x xmlns='http://jabber.org/protocol/muc'/>
	</presence>

Romeo receives:
	<presence from='issue1230@conference.localhost/romeo'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
	<status code='201'/>
	<item jid="${Romeo's JID}" role='moderator' affiliation='owner'/>
	<status code='110'/>
	</x>
	</presence>

Romeo receives:
	<message from='issue1230@conference.localhost' type='groupchat'>
	<subject/>
	</message>

Romeo sends:
	<iq id='lx3' type='set' to='issue1230@conference.localhost'>
	<query xmlns='http://jabber.org/protocol/muc#owner'>
	<x type='submit' xmlns='jabber:x:data'>
	<field var='FORM_TYPE'>
	<value>http://jabber.org/protocol/muc#roomconfig</value>
	</field>
	<field var='muc#roomconfig_whois'>
	<value>anyone</value>
	</field>
	</x>
	</query>
	</iq>

Romeo receives:
	<iq from='issue1230@conference.localhost' type='result' id='lx3'/>

Romeo receives:
	<message from='issue1230@conference.localhost' type='groupchat'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
	<status code='172'/>
	</x>
	</message>

Juliet connects

Juliet sends:
	<presence to='issue1230@conference.localhost/juliet'>
	<x xmlns='http://jabber.org/protocol/muc'/>
	</presence>

Juliet receives:
	<presence from='issue1230@conference.localhost/romeo'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
	<item jid="${Romeo's JID}" role='moderator' affiliation='owner'/>
	</x>
	</presence>

Juliet receives:
	<presence from='issue1230@conference.localhost/juliet'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
	<status code='100'/>
	<item jid="${Juliet's JID}" role='participant' affiliation='none'/>
	<status code='110'/>
	</x>
	</presence>

Juliet receives:
	<message from='issue1230@conference.localhost' type='groupchat'>
	<subject/>
	</message>

Juliet sends:
	<iq id='lx2' type='get' to='issue1230@conference.localhost'>
	<query xmlns='http://jabber.org/protocol/muc#admin'>
	<item affiliation='member'/>
	</query>
	</iq>

Juliet receives:
	<iq from='issue1230@conference.localhost' type='result' id='lx2'>
	<query xmlns='http://jabber.org/protocol/muc#admin'/>
	</iq>

Juliet disconnects

Romeo disconnects