1 # MUC: Mediated invites
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">
58 # Romeo invites Juliet to join the room
61 <message to="room@conference.localhost" id="invite1">
62 <x xmlns="http://jabber.org/protocol/muc#user">
63 <invite to="${Juliet's JID}" />
68 <message from="room@conference.localhost" id="invite1">
69 <x xmlns="http://jabber.org/protocol/muc#user">
70 <invite from="room@conference.localhost/Romeo">
74 <body>room@conference.localhost/Romeo invited you to the room room@conference.localhost</body>
75 <x xmlns="jabber:x:conference" jid="room@conference.localhost"/>