aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/scansion/muc_subject_issue_667.scs8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/scansion/muc_subject_issue_667.scs b/spec/scansion/muc_subject_issue_667.scs
index 859a0bfd..417f957a 100644
--- a/spec/scansion/muc_subject_issue_667.scs
+++ b/spec/scansion/muc_subject_issue_667.scs
@@ -23,11 +23,13 @@ Romeo receives:
</x>
</presence>
+# the default (empty) subject
Romeo receives:
<message type="groupchat" from="issue667@conference.localhost">
<subject/>
</message>
+# this should be treated as a normal message
Romeo sends:
<message to="issue667@conference.localhost" type="groupchat">
<subject>Greetings</subject>
@@ -40,6 +42,7 @@ Romeo receives:
<body>Hello everyone</body>
</message>
+# this is a subject change
Romeo sends:
<message to="issue667@conference.localhost" type="groupchat">
<subject>Something to talk about</subject>
@@ -50,6 +53,7 @@ Romeo receives:
<subject>Something to talk about</subject>
</message>
+# a message without <subject>
Romeo sends:
<message to="issue667@conference.localhost" type="groupchat">
<body>Lorem ipsum dolor sit amet</body>
@@ -60,11 +64,13 @@ Romeo receives:
<body>Lorem ipsum dolor sit amet</body>
</message>
+# Resync
Romeo sends:
<presence to="issue667@conference.localhost/Romeo">
<x xmlns="http://jabber.org/protocol/muc"/>
</presence>
+# Presences
Romeo receives:
<presence from="issue667@conference.localhost/Romeo">
<x xmlns="http://jabber.org/protocol/muc#user">
@@ -73,6 +79,7 @@ Romeo receives:
</x>
</presence>
+# History
# These have delay tags but we ignore those for now
Romeo receives:
<message type="groupchat" from="issue667@conference.localhost/Romeo">
@@ -85,6 +92,7 @@ Romeo receives:
<body>Lorem ipsum dolor sit amet</body>
</message>
+# Finally, the topic
Romeo receives:
<message type="groupchat" from="issue667@conference.localhost/Romeo">
<subject>Something to talk about</subject>