1 # MUC: Allow members to fetch the affiliation lists in open non-anonymous rooms |
1 # MUC: Allow members to fetch the affiliation lists in open non-anonymous rooms |
2 |
2 |
3 [Client] Romeo |
3 [Client] Romeo |
4 jid: romeo@localhost/MsliYo9C |
4 jid: 4e2pm7er@localhost |
5 password: password |
5 password: password |
6 |
6 |
7 [Client] Juliet |
7 [Client] Juliet |
8 jid: juliet@localhost/vJrUtY4Z |
8 jid: qnjm5253@localhost |
|
9 password: password |
|
10 |
|
11 [Client] Random |
|
12 jid: iqizbcus@localhost |
9 password: password |
13 password: password |
10 |
14 |
11 ----- |
15 ----- |
12 |
16 |
13 Romeo connects |
17 Romeo connects |
14 |
18 |
|
19 Juliet connects |
|
20 |
|
21 Random connects |
|
22 |
|
23 # Romeo joins and creates the MUC |
15 Romeo sends: |
24 Romeo sends: |
16 <presence to='issue1230@conference.localhost/romeo'> |
25 <presence to="mcgczevx@conference.localhost/Romeo"> |
17 <x xmlns='http://jabber.org/protocol/muc'/> |
26 <x xmlns="http://jabber.org/protocol/muc"/> |
18 </presence> |
27 </presence> |
19 |
28 |
20 Romeo receives: |
29 Romeo receives: |
21 <presence from='issue1230@conference.localhost/romeo'> |
30 <presence from="mcgczevx@conference.localhost/Romeo"> |
22 <x xmlns='http://jabber.org/protocol/muc#user'> |
31 <x xmlns="http://jabber.org/protocol/muc#user" scansion:strict="false"> |
23 <status code='201'/> |
32 <item affiliation="owner" jid="${Romeo's full JID}" role="moderator"/> |
24 <item jid="${Romeo's JID}" role='moderator' affiliation='owner'/> |
33 <status code="110"/> |
25 <status code='110'/> |
34 <status code="201"/> |
26 </x> |
35 </x> |
27 </presence> |
36 </presence> |
28 |
37 |
29 Romeo receives: |
38 Romeo receives: |
30 <message from='issue1230@conference.localhost' type='groupchat'> |
39 <message from="mcgczevx@conference.localhost" type="groupchat"> |
31 <subject/> |
40 <subject/> |
32 </message> |
41 </message> |
33 |
42 |
|
43 # and configures it for private chat |
34 Romeo sends: |
44 Romeo sends: |
35 <iq id='lx3' type='set' to='issue1230@conference.localhost'> |
45 <iq type="set" id="17fb8e7e-c75e-447c-b86f-3f1df8f507c4" to="mcgczevx@conference.localhost"> |
36 <query xmlns='http://jabber.org/protocol/muc#owner'> |
46 <query xmlns="http://jabber.org/protocol/muc#owner"> |
37 <x type='submit' xmlns='jabber:x:data'> |
47 <x type="submit" xmlns="jabber:x:data"> |
38 <field var='FORM_TYPE'> |
48 <field var="FORM_TYPE"> |
39 <value>http://jabber.org/protocol/muc#roomconfig</value> |
49 <value>http://jabber.org/protocol/muc#roomconfig</value> |
40 </field> |
50 </field> |
41 <field var='muc#roomconfig_whois'> |
51 <field var="muc#roomconfig_membersonly"> |
42 <value>anyone</value> |
52 <value>1</value> |
43 </field> |
53 </field> |
44 </x> |
54 <field var="muc#roomconfig_whois"> |
45 </query> |
55 <value>anyone</value> |
|
56 </field> |
|
57 </x> |
|
58 </query> |
46 </iq> |
59 </iq> |
47 |
60 |
48 Romeo receives: |
61 Romeo receives: |
49 <iq from='issue1230@conference.localhost' type='result' id='lx3'/> |
62 <iq from="mcgczevx@conference.localhost" id="17fb8e7e-c75e-447c-b86f-3f1df8f507c4" type="result"/> |
50 |
63 |
51 Romeo receives: |
64 Romeo receives: |
52 <message from='issue1230@conference.localhost' type='groupchat'> |
65 <message from="mcgczevx@conference.localhost" type="groupchat"> |
53 <x xmlns='http://jabber.org/protocol/muc#user'> |
66 <x xmlns="http://jabber.org/protocol/muc#user" scansion:strict="false"> |
54 <status code='172'/> |
67 <status code="104"/> |
55 </x> |
68 <status code="172"/> |
|
69 </x> |
56 </message> |
70 </message> |
57 |
71 |
58 Juliet connects |
72 # Juliet is made a member |
|
73 Romeo sends: |
|
74 <iq type="set" id="32d81574-e1dc-4221-b36d-4c44debb7c19" to="mcgczevx@conference.localhost"> |
|
75 <query xmlns="http://jabber.org/protocol/muc#admin"> |
|
76 <item affiliation="member" jid="${Juliet's JID}"/> |
|
77 </query> |
|
78 </iq> |
59 |
79 |
|
80 # Juliet can read affiliations |
60 Juliet sends: |
81 Juliet sends: |
61 <presence to='issue1230@conference.localhost/juliet'> |
82 <iq type="get" id="32d81574-e1dc-4221-b36d-4c44debb7c19" to="mcgczevx@conference.localhost"> |
62 <x xmlns='http://jabber.org/protocol/muc'/> |
83 <query xmlns="http://jabber.org/protocol/muc#admin"> |
63 </presence> |
84 <item affiliation="owner"/> |
64 |
85 </query> |
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> |
|
71 |
|
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> |
|
80 |
|
81 Juliet receives: |
|
82 <message from='issue1230@conference.localhost' type='groupchat'> |
|
83 <subject/> |
|
84 </message> |
|
85 |
|
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> |
86 </iq> |
92 |
87 |
93 Juliet receives: |
88 Juliet receives: |
94 <iq from='issue1230@conference.localhost' type='result' id='lx2'> |
89 <iq from="mcgczevx@conference.localhost" id="32d81574-e1dc-4221-b36d-4c44debb7c19" type="result"> |
95 <query xmlns='http://jabber.org/protocol/muc#admin'/> |
90 <query xmlns="http://jabber.org/protocol/muc#admin"> |
|
91 <item affiliation="owner" jid="${Romeo's JID}"/> |
|
92 </query> |
96 </iq> |
93 </iq> |
|
94 |
|
95 Juliet sends: |
|
96 <iq type="get" id="05e3fe30-976f-4919-8221-ca1ac333eb9b" to="mcgczevx@conference.localhost"> |
|
97 <query xmlns="http://jabber.org/protocol/muc#admin"> |
|
98 <item affiliation="member"/> |
|
99 </query> |
|
100 </iq> |
|
101 |
|
102 Juliet receives: |
|
103 <iq from="mcgczevx@conference.localhost" id="05e3fe30-976f-4919-8221-ca1ac333eb9b" type="result"> |
|
104 <query xmlns="http://jabber.org/protocol/muc#admin"> |
|
105 <item affiliation="member" jid="${Juliet's JID}"/> |
|
106 </query> |
|
107 </iq> |
|
108 |
|
109 # Others can't read affiliations |
|
110 Random sends: |
|
111 <iq type="get" id="df1195e1-7ec8-4102-8561-3e3a1d942adf" to="mcgczevx@conference.localhost"> |
|
112 <query xmlns="http://jabber.org/protocol/muc#admin"> |
|
113 <item affiliation="owner"/> |
|
114 </query> |
|
115 </iq> |
|
116 |
|
117 Random receives: |
|
118 <iq from="mcgczevx@conference.localhost" id="df1195e1-7ec8-4102-8561-3e3a1d942adf" type="error"/> |
|
119 |
97 |
120 |
98 Juliet disconnects |
121 Juliet disconnects |
99 |
122 |
100 Romeo disconnects |
123 Romeo disconnects |
101 |
124 |
|
125 Random disconnects |
|
126 |
|
127 # recording ended on 2021-07-23T12:09:48Z |