# HG changeset patch # User Matthew Wild # Date 1545225959 0 # Node ID aed9e6b1242ab3d66741549cc5d457f4915c5f33 # Parent 39dc037875e1bdfb0b296746e2ca0756a3fb86a8# Parent 0d97768b0ea966f7c33a8b2b576619941c6eea18 Merge 0.11 -> trunk diff -r 39dc037875e1 -r aed9e6b1242a spec/scansion/muc_members_only_change.scs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spec/scansion/muc_members_only_change.scs Wed Dec 19 13:25:59 2018 +0000 @@ -0,0 +1,114 @@ +# MUC: Room registration and reserved nicknames + +[Client] Romeo + jid: user@localhost + password: password + +[Client] Juliet + jid: user2@localhost + password: password + +----- + +Romeo connects + +Romeo sends: + + + + +Romeo receives: + + + + + + + + +Romeo receives: + + +# Submit config form, set the room to members-only +Romeo sends: + + + + + http://jabber.org/protocol/muc#roomconfig + + + 1 + + + + + +Romeo receives: + + + +# Romeo adds Juliet to the member list +Romeo sends: + + + + + + +Romeo receives: + + + + + + +Romeo receives: + + +# Juliet connects, and joins the room +Juliet connects + +Juliet sends: + + + + +Juliet receives: + + +Juliet receives: + + +Juliet receives: + + +Romeo receives: + + + +# Romeo removes Juliet's membership status +Romeo sends: + + + + + + +# As a non-member, Juliet must now be removed from the room +Romeo receives: + + + + + + + + + +Romeo receives: + + +Romeo disconnects + +Juliet disconnects diff -r 39dc037875e1 -r aed9e6b1242a spec/scansion/muc_members_only_deregister.scs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spec/scansion/muc_members_only_deregister.scs Wed Dec 19 13:25:59 2018 +0000 @@ -0,0 +1,122 @@ +# MUC: Room registration and reserved nicknames + +[Client] Romeo + jid: user@localhost + password: password + +[Client] Juliet + jid: user2@localhost + password: password + +----- + +Romeo connects + +Romeo sends: + + + + +Romeo receives: + + + + + + + + +Romeo receives: + + +# Submit config form, set the room to members-only +Romeo sends: + + + + + http://jabber.org/protocol/muc#roomconfig + + + 1 + + + + + +Romeo receives: + + + +# Romeo adds Juliet to the member list +Romeo sends: + + + + + + +Romeo receives: + + + + + + +Romeo receives: + + +# Juliet connects, and joins the room +Juliet connects + +Juliet sends: + + + + +Juliet receives: + + +Juliet receives: + + +Juliet receives: + + +Romeo receives: + + + +# Tired of Romeo's company, Juliet unregisters from the room + +Juliet sends: + + + + + + +Juliet receives: + + + + + + + + +Juliet receives: + + +Romeo receives: + + + + + + + + +Romeo disconnects + +Juliet disconnects