diff options
author | Kim Alvefur <zash@zash.se> | 2018-12-20 14:49:50 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-12-20 14:49:50 +0100 |
commit | 9568a1a941644421edaf8bf57db2d1177853affa (patch) | |
tree | 5585523f0723978b54a09189a45ab054c89625d8 /spec/scansion | |
parent | 6822f0a4f68136b9e00b88cf51ffb1a641d8b02c (diff) | |
parent | 46e97ef82f870f1f425c80d656f0008448c7b7ff (diff) | |
download | prosody-9568a1a941644421edaf8bf57db2d1177853affa.tar.gz prosody-9568a1a941644421edaf8bf57db2d1177853affa.zip |
Merge 0.11->trunk
Diffstat (limited to 'spec/scansion')
-rw-r--r-- | spec/scansion/muc_register.scs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/spec/scansion/muc_register.scs b/spec/scansion/muc_register.scs index 98af33f1..e1eaf4e0 100644 --- a/spec/scansion/muc_register.scs +++ b/spec/scansion/muc_register.scs @@ -504,3 +504,25 @@ Rosaline receives: <status xmlns='http://jabber.org/protocol/muc#user' code='110'/> </x> </presence> + +# Romeo sets their their own nickname via admin query (see #1273) +Romeo sends: + <iq to="room@conference.localhost" id="reserve" type="set"> + <query xmlns="http://jabber.org/protocol/muc#admin"> + <item nick="Romeo" affiliation="owner" jid="${Romeo's JID}"/> + </query> + </iq> + +Romeo receives: + <presence from="room@conference.localhost/Romeo"> + <x xmlns="http://jabber.org/protocol/muc#user"> + <item xmlns="http://jabber.org/protocol/muc#user" role="moderator" jid="${Romeo's full JID}" affiliation="owner"> + <actor xmlns="http://jabber.org/protocol/muc#user" nick="Romeo"/> + </item> + <status xmlns="http://jabber.org/protocol/muc#user" code="110"/> + </x> + </presence> + +Romeo receives: + <iq from="room@conference.localhost" id="reserve" type="result"/> + |