Participation Management

This is the request for answer an event participation, it’s used for the private and for the public event

Client respond to an invite

Someone send the his participation to the buddy, the buddy must update the configuration

Tag

Required

Value

Description

x:type

true

event_creation

Fixed value for the message

x:payload

true

json object

Represents message content

payload:event

true

Event object

DOC Event object description

Client request example:

<message to="test@domain" id="1486028547270039399072925" type="chat">
    <body />
    <x xmlns="jabber:x:oob">
        <type>event_set_participation</type>
        <payload>
        {
          "event":
          {
            "jid": "event-jid",
            "occupants":
            [{
                "jabberId": "user0",
                "status": "joined"
            }]
          }
        }
        </payload>
    </x>
</message>

Buddy action:

The buddy must only send changed tags

<iq from="buddy" id="conf2" to="MUC_Light generated jid" type="set">
   <query xmlns="urn:xmpp:muclight:0#configuration">
      <configuration>
         <users>[
          {jabberId: "user0", "status": "joined", isAdmin:true},
          {jabberId: "user1", "status": "maybe", isAdmin:false},
          {jabberId: "user3", "status": "maybe", isAdmin:false},
          {jabberId: "user4", "status": "maybe", isAdmin:true}
        ]</users>
      </configuration>
   </query>
</iq>