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 | 3841c64a8f72af65c056217c771d38cb601d7a17 (patch) | |
tree | db422e36ea8881c539b5a09a403b968c72459f37 | |
parent | 9a69512d819d05bd96987ac95b5f88517d3f6e7d (diff) | |
download | prosody-3841c64a8f72af65c056217c771d38cb601d7a17.tar.gz prosody-3841c64a8f72af65c056217c771d38cb601d7a17.zip |
muc_register.scs: Fix to expect new affiliation change notifications
-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' /> |