Software /
code /
prosody
Annotate
spec/scansion/muc_create_destroy.scs @ 10723:144a1ee24a4e
util.sasl.digest-md5: Remove, obsolete since 2011
RFC 6331 lists several problems with this outdated authentication
mechanism. The code here was also completely ignored by lint checks and
has probably not been used for a long time, as it is incompatible with
SCRAM-hashed password storage.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 14 Apr 2020 16:51:24 +0200 |
parent | 10697:08ec83f90ce0 |
child | 10941:642773f3073b |
rev | line source |
---|---|
10229
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 # MUC creation, basic messages and destruction |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 [Client] Romeo |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 jid: romeo@localhost/mK0dD6Ha |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 password: password |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 [Client] Juliet |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
8 jid: juliet@localhost/lVwkim_k |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
9 password: password |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
10 |
10697
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
11 [Client] Admin |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
12 jid: admin@localhost/DfNgg9VE |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
13 password: password |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
14 |
10229
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
15 ----- |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
16 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
17 Romeo connects |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
18 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
19 Romeo sends: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
20 <presence to="garden@conference.localhost/romeo"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
21 <x xmlns="http://jabber.org/protocol/muc"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
22 </presence> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
23 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
24 Romeo receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
25 <presence from="garden@conference.localhost/romeo"> |
10272
327e374f143c
MUC: Fix XML syntax error in test
Kim Alvefur <zash@zash.se>
parents:
10271
diff
changeset
|
26 <x xmlns="vcard-temp:x:update"> |
10271
2f30ad040454
MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents:
10231
diff
changeset
|
27 <photo/> |
2f30ad040454
MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents:
10231
diff
changeset
|
28 </x> |
10229
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
29 <x xmlns="http://jabber.org/protocol/muc#user"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
30 <status code="201"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
31 <item affiliation="owner" jid="${Romeo's full JID}" role="moderator"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
32 <status code="110"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
33 </x> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
34 </presence> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
35 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
36 Romeo receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
37 <message from="garden@conference.localhost" type="groupchat"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
38 <subject/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
39 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
40 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
41 Romeo sends: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
42 <iq to="garden@conference.localhost" id="lx3" type="set"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
43 <query xmlns="http://jabber.org/protocol/muc#owner"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
44 <x type="submit" xmlns="jabber:x:data"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
45 </query> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
46 </iq> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
47 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
48 Romeo receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
49 <iq id="lx3" type="result" from="garden@conference.localhost"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
50 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
51 Juliet connects |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
52 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
53 Romeo sends: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
54 <message to="garden@conference.localhost" type="groupchat" id="rm1"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
55 <body>Where are thou my Juliet?</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
56 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
57 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
58 Romeo receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
59 <message type="groupchat" from="garden@conference.localhost/romeo" id="rm1"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
60 <body>Where are thou my Juliet?</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
61 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
62 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
63 Juliet sends: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
64 <presence to="garden@conference.localhost/juliet"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
65 <x xmlns="http://jabber.org/protocol/muc"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
66 </presence> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
67 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
68 Juliet receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
69 <presence from="garden@conference.localhost/romeo"> |
10271
2f30ad040454
MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents:
10231
diff
changeset
|
70 <x xmlns="vcard-temp:x:update"> |
2f30ad040454
MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents:
10231
diff
changeset
|
71 <photo/> |
2f30ad040454
MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents:
10231
diff
changeset
|
72 </x> |
10229
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
73 <x xmlns="http://jabber.org/protocol/muc#user"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
74 <item affiliation="owner" role="moderator"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
75 </x> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
76 </presence> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
77 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
78 Juliet receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
79 <presence from="garden@conference.localhost/juliet"> |
10271
2f30ad040454
MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents:
10231
diff
changeset
|
80 <x xmlns="vcard-temp:x:update"> |
2f30ad040454
MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents:
10231
diff
changeset
|
81 <photo/> |
2f30ad040454
MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents:
10231
diff
changeset
|
82 </x> |
10229
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
83 <x xmlns="http://jabber.org/protocol/muc#user"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
84 <item affiliation="none" jid="${Juliet's full JID}" role="participant"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
85 <status code="110"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
86 </x> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
87 </presence> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
88 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
89 Juliet receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
90 <message from="garden@conference.localhost/romeo" id="rm1" type="groupchat"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
91 <body>Where are thou my Juliet?</body> |
10231
949b1b72537a
MUC: Fix delay tag @from in test to be the room JID (#1054 came back)
Kim Alvefur <zash@zash.se>
parents:
10229
diff
changeset
|
92 <delay stamp="{scansion:any}" xmlns="urn:xmpp:delay" from="garden@conference.localhost"/> |
949b1b72537a
MUC: Fix delay tag @from in test to be the room JID (#1054 came back)
Kim Alvefur <zash@zash.se>
parents:
10229
diff
changeset
|
93 <x stamp="{scansion:any}" xmlns="jabber:x:delay" from="garden@conference.localhost"/> |
10229
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
94 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
95 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
96 Juliet receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
97 <message from="garden@conference.localhost" type="groupchat"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
98 <subject/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
99 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
100 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
101 Romeo receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
102 <presence from="garden@conference.localhost/juliet"> |
10271
2f30ad040454
MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents:
10231
diff
changeset
|
103 <x xmlns="vcard-temp:x:update"> |
2f30ad040454
MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents:
10231
diff
changeset
|
104 <photo/> |
2f30ad040454
MUC: Update test for vcard-temp changes
Kim Alvefur <zash@zash.se>
parents:
10231
diff
changeset
|
105 </x> |
10229
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
106 <x xmlns="http://jabber.org/protocol/muc#user"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
107 <item affiliation="none" jid="${Juliet's full JID}" role="participant"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
108 </x> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
109 </presence> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
110 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
111 Juliet sends: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
112 <message to="garden@conference.localhost" type="groupchat" id="jm1"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
113 <body>/me jumps out from behind a tree</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
114 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
115 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
116 Romeo receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
117 <message type="groupchat" id="jm1" from="garden@conference.localhost/juliet"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
118 <body>/me jumps out from behind a tree</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
119 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
120 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
121 Juliet receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
122 <message type="groupchat" id="jm1" from="garden@conference.localhost/juliet"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
123 <body>/me jumps out from behind a tree</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
124 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
125 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
126 Juliet sends: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
127 <message to="garden@conference.localhost" type="groupchat" id="jm2"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
128 <body>Here I am!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
129 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
130 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
131 Romeo receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
132 <message type="groupchat" id="jm2" from="garden@conference.localhost/juliet"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
133 <body>Here I am!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
134 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
135 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
136 Juliet receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
137 <message type="groupchat" id="jm2" from="garden@conference.localhost/juliet"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
138 <body>Here I am!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
139 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
140 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
141 Romeo sends: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
142 <message to="garden@conference.localhost" type="groupchat" id="rm2"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
143 <body>What is this place?</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
144 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
145 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
146 Romeo receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
147 <message type="groupchat" id="rm2" from="garden@conference.localhost/romeo"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
148 <body>What is this place?</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
149 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
150 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
151 Juliet receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
152 <message type="groupchat" id="rm2" from="garden@conference.localhost/romeo"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
153 <body>What is this place?</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
154 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
155 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
156 Juliet sends: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
157 <message to="garden@conference.localhost" type="groupchat" id="jm3"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
158 <body>I think we're in a script!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
159 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
160 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
161 Romeo receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
162 <message type="groupchat" id="jm3" from="garden@conference.localhost/juliet"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
163 <body>I think we're in a script!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
164 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
165 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
166 Juliet receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
167 <message type="groupchat" id="jm3" from="garden@conference.localhost/juliet"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
168 <body>I think we're in a script!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
169 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
170 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
171 Romeo sends: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
172 <message to="garden@conference.localhost" type="groupchat" id="rm3"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
173 <body>Oh no! Does that mean our love is not real?!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
174 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
175 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
176 Romeo receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
177 <message type="groupchat" id="rm3" from="garden@conference.localhost/romeo"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
178 <body>Oh no! Does that mean our love is not real?!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
179 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
180 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
181 Juliet receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
182 <message type="groupchat" id="rm3" from="garden@conference.localhost/romeo"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
183 <body>Oh no! Does that mean our love is not real?!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
184 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
185 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
186 Juliet sends: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
187 <message to="garden@conference.localhost" type="groupchat" id="jm4"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
188 <body>I refuse to accept this! Let's burn this place to the ground!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
189 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
190 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
191 Romeo receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
192 <message type="groupchat" id="jm4" from="garden@conference.localhost/juliet"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
193 <body>I refuse to accept this! Let's burn this place to the ground!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
194 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
195 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
196 Juliet receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
197 <message type="groupchat" id="jm4" from="garden@conference.localhost/juliet"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
198 <body>I refuse to accept this! Let's burn this place to the ground!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
199 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
200 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
201 Romeo sends: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
202 <message to="garden@conference.localhost" type="groupchat" id="rm4"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
203 <body>Yes!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
204 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
205 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
206 Romeo receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
207 <message type="groupchat" id="rm4" from="garden@conference.localhost/romeo"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
208 <body>Yes!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
209 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
210 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
211 Juliet receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
212 <message type="groupchat" id="rm4" from="garden@conference.localhost/romeo"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
213 <body>Yes!</body> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
214 </message> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
215 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
216 Romeo sends: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
217 <iq to="garden@conference.localhost" id="lx4" type="set"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
218 <query xmlns="http://jabber.org/protocol/muc#owner"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
219 <destroy> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
220 <reason>We refuse to live in this fantasy!</reason> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
221 </destroy> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
222 </query> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
223 </iq> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
224 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
225 Juliet receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
226 <presence from="garden@conference.localhost/juliet" type="unavailable"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
227 <x xmlns="http://jabber.org/protocol/muc#user"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
228 <destroy> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
229 <reason>We refuse to live in this fantasy!</reason> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
230 </destroy> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
231 <item affiliation="none" jid="${Juliet's full JID}" role="none"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
232 <status code="110"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
233 </x> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
234 </presence> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
235 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
236 Romeo receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
237 <presence from="garden@conference.localhost/romeo" type="unavailable"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
238 <x xmlns="http://jabber.org/protocol/muc#user"> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
239 <destroy> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
240 <reason>We refuse to live in this fantasy!</reason> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
241 </destroy> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
242 <item affiliation="owner" jid="${Romeo's full JID}" role="none"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
243 <status code="110"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
244 </x> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
245 </presence> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
246 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
247 Romeo receives: |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
248 <iq id="lx4" type="result" from="garden@conference.localhost"/> |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
249 |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
250 Juliet disconnects |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
251 |
10697
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
252 Romeo sends: |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
253 <presence to="elsewhere@conference.localhost/romeo"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
254 <x xmlns="http://jabber.org/protocol/muc"/> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
255 </presence> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
256 |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
257 Romeo receives: |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
258 <presence from="elsewhere@conference.localhost/romeo"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
259 <x xmlns="vcard-temp:x:update"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
260 <photo/> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
261 </x> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
262 <x xmlns="http://jabber.org/protocol/muc#user"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
263 <status code="201"/> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
264 <item affiliation="owner" jid="${Romeo's full JID}" role="moderator"/> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
265 <status code="110"/> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
266 </x> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
267 </presence> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
268 |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
269 Romeo receives: |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
270 <message from="elsewhere@conference.localhost" type="groupchat"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
271 <subject/> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
272 </message> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
273 |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
274 Romeo sends: |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
275 <iq to="elsewhere@conference.localhost" id="lx5" type="set"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
276 <query xmlns="http://jabber.org/protocol/muc#owner"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
277 <x type="submit" xmlns="jabber:x:data"/> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
278 </query> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
279 </iq> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
280 |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
281 Romeo receives: |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
282 <iq id="lx5" type="result" from="elsewhere@conference.localhost"/> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
283 |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
284 Admin connects |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
285 |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
286 Admin sends: |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
287 <iq id="destroy" type="set" to="conference.localhost"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
288 <command xmlns="http://jabber.org/protocol/commands" node="http://prosody.im/protocol/muc#destroy"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
289 <x xmlns="jabber:x:data"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
290 <field var="rooms"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
291 <value>elsewhere@conference.localhost</value> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
292 </field> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
293 </x> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
294 </command> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
295 </iq> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
296 |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
297 Romeo receives: |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
298 <presence from="elsewhere@conference.localhost/romeo" type="unavailable"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
299 <x xmlns="http://jabber.org/protocol/muc#user"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
300 <destroy/> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
301 <item affiliation="owner" jid="${Romeo's full JID}" role="none"/> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
302 <status code="110"/> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
303 </x> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
304 </presence> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
305 |
10229
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
306 Romeo disconnects |
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
307 |
10697
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
308 Admin receives: |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
309 <iq id="destroy" type="result" from="conference.localhost"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
310 <command xmlns="http://jabber.org/protocol/commands" node="http://prosody.im/protocol/muc#destroy" status="completed" sessionid="{scansion:any}"> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
311 <note type="info">The following rooms were destroyed: elsewhere@conference.localhost</note> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
312 </command> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
313 </iq> |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
314 |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
315 Admin disconnects |
08ec83f90ce0
MUC: Add test for destroying a room by ad-hoc command
Kim Alvefur <zash@zash.se>
parents:
10272
diff
changeset
|
316 |
10229
3b769e53b33f
MUC: Add a test covering basic room creation, messages and destruction
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
317 # recording ended on 2019-08-31T13:45:32Z |