diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-10-31 14:19:01 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-10-31 14:19:01 +0000 |
commit | e791ba30b58a2a5927665c400498e1867eb7579b (patch) | |
tree | db422e36ea8881c539b5a09a403b968c72459f37 /spec | |
parent | 54ecdb5cd0f5ed435de571a3795e2648c9145873 (diff) | |
download | prosody-e791ba30b58a2a5927665c400498e1867eb7579b.tar.gz prosody-e791ba30b58a2a5927665c400498e1867eb7579b.zip |
muc_register.scs: Fix to expect new affiliation change notifications
Diffstat (limited to 'spec')
-rw-r--r-- | spec/scansion/muc_register.scs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/spec/scansion/muc_register.scs b/spec/scansion/muc_register.scs index 1cd8e36e..98af33f1 100644 --- a/spec/scansion/muc_register.scs +++ b/spec/scansion/muc_register.scs @@ -57,6 +57,13 @@ Romeo sends: </iq> Romeo receives: + <message from='room@conference.localhost'> + <x xmlns='http://jabber.org/protocol/muc#user'> + <item jid="${Juliet's JID}" affiliation='member' /> + </x> + </message> + +Romeo receives: <iq from='room@conference.localhost' id='member1' type='result'/> # Juliet connects, and joins the room @@ -186,6 +193,15 @@ Juliet sends: Juliet receives: <iq type='result' from='room@conference.localhost' id='unreg1'/> +# Romeo is notified of Juliet's sad decision + +Romeo receives: + <message from='room@conference.localhost'> + <x xmlns='http://jabber.org/protocol/muc#user' scansion:strict='true'> + <item jid="${Juliet's JID}" /> + </x> + </message> + # Rosaline attempts once more to sneak into the room, disguised as Juliet Rosaline sends: @@ -236,6 +252,15 @@ Romeo receives: </x> </presence> +# An out-of-room affiliation change is received for Juliet + +Romeo receives: + <message from='room@conference.localhost'> + <x xmlns='http://jabber.org/protocol/muc#user'> + <item jid="${Juliet's JID}" affiliation='member' /> + </x> + </message> + Romeo receives: <iq type='result' id='member1' from='room@conference.localhost' /> |