aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion/muc_register.scs
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-09-14 12:05:47 +0100
committerMatthew Wild <mwild1@gmail.com>2018-09-14 12:05:47 +0100
commitc283ec08b07ee1429962f0e5b534a419c01eead2 (patch)
tree76a31f8e259e7acfd0f703810ff80d8b567f3aac /spec/scansion/muc_register.scs
parent213be6f9a19beb76264a8a9eceee7ff468b9013b (diff)
downloadprosody-c283ec08b07ee1429962f0e5b534a419c01eead2.tar.gz
prosody-c283ec08b07ee1429962f0e5b534a419c01eead2.zip
MUC: Include 'nick' attribute in affiliation lists (thanks jc)
Diffstat (limited to 'spec/scansion/muc_register.scs')
-rw-r--r--spec/scansion/muc_register.scs16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/scansion/muc_register.scs b/spec/scansion/muc_register.scs
index b76055b1..af0cdc07 100644
--- a/spec/scansion/muc_register.scs
+++ b/spec/scansion/muc_register.scs
@@ -365,3 +365,19 @@ Romeo receives:
</query>
</iq>
+# To check the status of the room is as expected, Romeo requests the member list
+
+Romeo sends:
+ <iq id='member3' to='room@conference.localhost' type='get'>
+ <query xmlns='http://jabber.org/protocol/muc#admin'>
+ <item affiliation='member'/>
+ </query>
+ </iq>
+
+Romeo receives:
+ <iq from='room@conference.localhost' type='result' id='member3'>
+ <query xmlns='http://jabber.org/protocol/muc#admin'>
+ <item jid="${Juliet's JID}" affiliation='member' nick='Juliet'/>
+ </query>
+ </iq>
+