1 # MUC: Handle affiliation changes from buggy clients
16 <presence to="room@conference.localhost/Romeo">
17 <x xmlns="http://jabber.org/protocol/muc"/>
21 <presence from='room@conference.localhost/Romeo'>
22 <x xmlns='http://jabber.org/protocol/muc#user'>
24 <item jid="${Romeo's full JID}" affiliation='owner' role='moderator'/>
30 <message type='groupchat' from='room@conference.localhost'><subject/></message>
34 <iq id='config1' to='room@conference.localhost' type='set'>
35 <query xmlns='http://jabber.org/protocol/muc#owner'>
36 <x xmlns='jabber:x:data' type='submit'>
37 <field var='FORM_TYPE'>
38 <value>http://jabber.org/protocol/muc#roomconfig</value>
45 <iq id="config1" from="room@conference.localhost" type="result">
49 <iq id='member1' to='room@conference.localhost' type='set'>
50 <query xmlns='http://jabber.org/protocol/muc#admin'>
51 <item affiliation='member' jid="${Juliet's JID}" />
56 <message from='room@conference.localhost'>
57 <x xmlns='http://jabber.org/protocol/muc#user'>
58 <item jid="${Juliet's JID}" affiliation='member' xmlns='http://jabber.org/protocol/muc#user'/>
63 <iq from='room@conference.localhost' id='member1' type='result'/>
65 # Juliet connects, and joins the room
69 <presence to="room@conference.localhost/Juliet">
70 <x xmlns="http://jabber.org/protocol/muc"/>
74 <presence from="room@conference.localhost/Romeo" />
77 <presence from="room@conference.localhost/Juliet" />
80 <message type='groupchat' from='room@conference.localhost'><subject/></message>
83 <presence from="room@conference.localhost/Juliet" />
85 # Romeo makes Juliet a member of the room, however his client is buggy and only
86 # specifies her nickname
89 <iq id='member1' to='room@conference.localhost' type='set'>
90 <query xmlns='http://jabber.org/protocol/muc#admin'>
91 <item affiliation='member' nick='Juliet' />
96 <presence from='room@conference.localhost/Juliet'>
97 <x xmlns='http://jabber.org/protocol/muc#user'>
98 <item affiliation='member' role='participant' jid="${Juliet's full JID}">
99 <actor jid="${Romeo's full JID}" nick='Romeo'/>
105 <iq type='result' id='member1' from='room@conference.localhost' />
108 <presence from='room@conference.localhost/Juliet'>
109 <x xmlns='http://jabber.org/protocol/muc#user'>
110 <item affiliation='member' role='participant' jid="${Juliet's full JID}">
111 <actor nick='Romeo' />
113 <status xmlns='http://jabber.org/protocol/muc#user' code='110'/>