Software /
code /
prosody
Annotate
spec/scansion/muc_subject_issue_667.scs @ 9706:d3c2c9248734
MUC: Add another message to #667 test
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 16 Dec 2018 22:49:58 +0100 |
parent | 9685:e98b901446d0 |
child | 9707:9171eddcce93 |
rev | line source |
---|---|
9685 | 1 # #667 MUC message with subject and body SHALL NOT be interpreted as a subject change |
2 | |
3 [Client] Romeo | |
4 password: password | |
5 jid: romeo@localhost | |
6 | |
7 ----- | |
8 | |
9 Romeo connects | |
10 | |
11 # and creates a room | |
12 Romeo sends: | |
13 <presence to="issue667@conference.localhost/Romeo"> | |
14 <x xmlns="http://jabber.org/protocol/muc"/> | |
15 </presence> | |
16 | |
17 Romeo receives: | |
18 <presence from="issue667@conference.localhost/Romeo"> | |
19 <x xmlns="http://jabber.org/protocol/muc#user"> | |
20 <status code="201"/> | |
21 <item affiliation="owner" role="moderator" jid="${Romeo's full JID}"/> | |
22 <status code="110"/> | |
23 </x> | |
24 </presence> | |
25 | |
26 Romeo receives: | |
27 <message type="groupchat" from="issue667@conference.localhost"> | |
28 <subject/> | |
29 </message> | |
30 | |
31 Romeo sends: | |
32 <message to="issue667@conference.localhost" type="groupchat"> | |
33 <subject>Greetings</subject> | |
34 <body>Hello everyone</body> | |
35 </message> | |
36 | |
37 Romeo receives: | |
38 <message type="groupchat" from="issue667@conference.localhost/Romeo"> | |
39 <subject>Greetings</subject> | |
40 <body>Hello everyone</body> | |
41 </message> | |
42 | |
43 Romeo sends: | |
44 <message to="issue667@conference.localhost" type="groupchat"> | |
45 <subject>Something to talk about</subject> | |
46 </message> | |
47 | |
48 Romeo receives: | |
49 <message type="groupchat" from="issue667@conference.localhost/Romeo"> | |
50 <subject>Something to talk about</subject> | |
51 </message> | |
52 | |
53 Romeo sends: | |
9706
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
54 <message to="issue667@conference.localhost" type="groupchat"> |
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
55 <body>Lorem ipsum dolor sit amet</body> |
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
56 </message> |
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
57 |
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
58 Romeo receives: |
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
59 <message type="groupchat" from="issue667@conference.localhost/Romeo"> |
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
60 <body>Lorem ipsum dolor sit amet</body> |
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
61 </message> |
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
62 |
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
63 Romeo sends: |
9685 | 64 <presence to="issue667@conference.localhost/Romeo"> |
65 <x xmlns="http://jabber.org/protocol/muc"/> | |
66 </presence> | |
67 | |
68 Romeo receives: | |
69 <presence from="issue667@conference.localhost/Romeo"> | |
70 <x xmlns="http://jabber.org/protocol/muc#user"> | |
71 <item affiliation="owner" role="moderator" jid="${Romeo's full JID}"/> | |
72 <status code="110"/> | |
73 </x> | |
74 </presence> | |
75 | |
76 # These have delay tags but we ignore those for now | |
77 Romeo receives: | |
78 <message type="groupchat" from="issue667@conference.localhost/Romeo"> | |
79 <subject>Greetings</subject> | |
80 <body>Hello everyone</body> | |
81 </message> | |
82 | |
83 Romeo receives: | |
84 <message type="groupchat" from="issue667@conference.localhost/Romeo"> | |
9706
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
85 <body>Lorem ipsum dolor sit amet</body> |
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
86 </message> |
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
87 |
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
88 Romeo receives: |
d3c2c9248734
MUC: Add another message to #667 test
Kim Alvefur <zash@zash.se>
parents:
9685
diff
changeset
|
89 <message type="groupchat" from="issue667@conference.localhost/Romeo"> |
9685 | 90 <subject>Something to talk about</subject> |
91 </message> | |
92 | |
93 Romeo disconnects | |
94 |