From 54ecdb5cd0f5ed435de571a3795e2648c9145873 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 31 Oct 2018 13:13:05 +0000 Subject: MUC: Announce affiliation changes for JIDs that are not in the room --- spec/scansion/muc_affiliation_notify.scs | 137 +++++++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 spec/scansion/muc_affiliation_notify.scs (limited to 'spec/scansion') diff --git a/spec/scansion/muc_affiliation_notify.scs b/spec/scansion/muc_affiliation_notify.scs new file mode 100644 index 00000000..3a62e0d2 --- /dev/null +++ b/spec/scansion/muc_affiliation_notify.scs @@ -0,0 +1,137 @@ +# MUC: Notification of affiliation changes of non-occupants + +[Client] Romeo + jid: user@localhost + password: password + +[Client] Juliet + jid: user2@localhost + password: password + +[Client] Rosaline + jid: user3@localhost + password: password + +----- + +Romeo connects + +Romeo sends: + + + + +Romeo receives: + + + + + + + + +Romeo receives: + + +# Submit config form +Romeo sends: + + + + + http://jabber.org/protocol/muc#roomconfig + + + + + +Romeo receives: + + + +# Promote Juliet to member +Romeo sends: + + + + + + +# Juliet is not in the room, so an affiliation change message is received + +Romeo receives: + + + + + + +# The affiliation change succeeded + +Romeo receives: + + +# Juliet connects, and joins the room +Juliet connects + +Juliet sends: + + + + +Juliet receives: + + +Juliet receives: + + +Juliet receives: + + +Romeo receives: + + +# To check the status of the room is as expected, Romeo requests the member list + +Romeo sends: + + + + + + +Romeo receives: + + + + + + +# Romeo grants membership to Rosaline, who is not in the room + +Romeo sends: + + + + + + +Romeo receives: + + + + + + +Romeo receives: + + +Romeo sends: + + Finished! + + +Juliet receives: + + Finished! + -- cgit v1.2.3