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 | 826c511cac78d521e6f336a658f50d66cb10d78a (patch) | |
tree | c721fe725d22cbcfbc2d9b032232260e38dec9bf /spec/scansion/muc_subject_issue_667.scs | |
parent | 09d88cefa5738c1ec7a60c50c73685c2378335d4 (diff) | |
download | prosody-826c511cac78d521e6f336a658f50d66cb10d78a.tar.gz prosody-826c511cac78d521e6f336a658f50d66cb10d78a.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> |