diff options
author | Kim Alvefur <zash@zash.se> | 2018-12-16 22:53:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-12-16 22:53:56 +0100 |
commit | 77a51af33dbafc0f301bce2f3b09122645f4e406 (patch) | |
tree | c721fe725d22cbcfbc2d9b032232260e38dec9bf /spec/scansion/muc_subject_issue_667.scs | |
parent | 6e6914b3cab39ff86f39869879a284e97c1c11df (diff) | |
download | prosody-77a51af33dbafc0f301bce2f3b09122645f4e406.tar.gz prosody-77a51af33dbafc0f301bce2f3b09122645f4e406.zip |
MUC: Add descriptive comments to #667 test
Diffstat (limited to 'spec/scansion/muc_subject_issue_667.scs')
-rw-r--r-- | spec/scansion/muc_subject_issue_667.scs | 8 |
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> |