diff --git a/xep-0369.xml b/xep-0369.xml index 92911d75..0ffebdb9 100644 --- a/xep-0369.xml +++ b/xep-0369.xml @@ -263,9 +263,9 @@

-

The standard nodes are as follows (although note that not every channel will necessarily use each node):

+

MIX defines a number standard nodes are as follows (although note that not every channel will necessarily use each node):

- +
@@ -278,7 +278,7 @@ - + @@ -292,8 +292,18 @@ All of the standard nodes are optional. A channel providing a service similar to MUC will typically use all of the standard nodes. MIX provides mechanisms to allow users to conveniently subscribe to a chosen set of nodes and to unsubscribe to all nodes with a single operation.

+

- The structure of each of the standard nodes is now considered in more detail in the rest of this section, after explaining roles. + MIX also makes use of two nodes for support of Avatars. These nodes and their use is defined in &xep0084;. These nodes may be created as part of a MIX channel, where it is desired to publish an avatar associated with the channel. +

+ +
NameNodeDescription
Messages'urn:xmpp:mix:nodes:messages'For publishing messages. Each item of this node will contain a message sent to the channel.
Presence'urn:xmpp:mix:nodes:presence'For publishing information about the availability status of online participants, which may include multiple clients for a single participant.
Information'urn:xmpp:mix:nodes:info'For storing general channel information, such as description and avatar.
Information'urn:xmpp:mix:nodes:info'For storing general channel information, such as description.
Allowed'urn:xmpp:mix:nodes:allowed'For storing JIDs that are allowed to be channel participants.
+ + + +
NameNodeDescription
Avatar Data'urn:xmpp:avatar:data'For publishing an Avatar
Avatar Metadata'urn:xmpp:avatar:metadata'For publishing Avatar metadata
+

+ The structure of each of the standard nodes defined by MIX is now considered in more detail in the rest of this section, after explaining roles.

@@ -395,8 +405,6 @@

  • 'Description'. A longer description of the channel.
  • 'Contact'. The JID of the person or role responsible for the channel. This MAY be the JID of a MIX channel.
  • - -
  • 'Avatar'. An Avatar associated with the channel. This MAY be used in rosters that hold information on the channel and MAY be displayed by clients using the channel. The avatar is stored using the base 64 encoded format defined in &xep0084;
  • @@ -419,9 +427,6 @@ greymalkin@shakespeare.lit - - base64-encoded-data - @@ -475,7 +480,7 @@ 'End of Life'The date and time at which the channel will be automatically removed by the server. If this is not set, the channel is permanent.text-single-- - 'Nodes Present'Specifies which nodes are present. Presence of config nodes is implicit. Jidmap node MUST be present if participants node is present.list-multi'participants'; 'presence'; 'subject'; 'information'; 'allowed'; 'banned'- + 'Nodes Present'Specifies which nodes are present. Presence of config nodes is implicit. Jidmap node MUST be present if participants node is present. 'avatar' means that both Avatar Data and Avatar Metadata nodes are present.list-multi'participants'; 'presence'; 'subject'; 'information'; 'allowed'; 'banned'; 'avatar'- 'Message Node Subscription'Controls who can subscribe to messages node.list-single'participants'; 'allowed'; 'anyone''participants' @@ -495,12 +500,19 @@ 'Information Node Update Rights'Controls who can make changes to the information nodelist-single'participants'; 'admins'; 'owners' 'admins' + + 'Avatar Nodes Update Rights'Controls who can make changes to the avatar data and metadata nodeslist-single'participants'; 'admins'; 'owners' 'admins' + + 'Kick Rights'Controls who can kick users from the channel.list-single'admins'; 'owners'; 'nobody' 'admins' 'JID Visibility'Controls JID visibility in the channel.list-single'jid-hidden'; 'jid-optionally-visible'; 'jid-mandatory-visible''jid-hidden' 'Open Presence'If selected, any client may register presence. If not selected, only clients with bare JID in the participants list may register presence.boolean-false + 'Participants Must Provide Presence'If selected, all channel participants are required to share presence information with the channel.boolean-false + + 'Allow Message RetractionIf this option is selected users will be able to retract messages sent to the MIX channel.boolean-false 'Participation Addition by Invitation from Participant'This option extends a channel so that a channel participant has rights to invite and enable other users as participants.boolean-false @@ -702,9 +714,6 @@ greymalkin@shakespeare.lit - - base64-encoded-data - @@ -837,9 +846,6 @@ the participant is not be subscribed to all nodes associated with the channel (i ]]>

    The user that has been added to the channel is identified by the item id of the item added to the pubsub node, which is the proxy JID of the new channel participant. Each <participant> element will include the nick of the user being added, which will be how the user will typically be shown in the channel.

    -

    - Following the MIX server side processing, the user's server will usually add the MIX channel to the user's roster using one way presence. This means that the MIX channel will get presence information from the user. This roster entry will lead to correct handling of the user's presence in the MIX channel. If the user does not wish to publish presence and the channel permits this, then this roster addition does not happen. If the channel requires presence and the user removes the channel from the user's roster, the channel MAY remove the user as a channel participant. -

    A user may subsequently modify subscription to nodes in a channel by sending a subscription modification request, as shown in the following example. @@ -865,6 +871,22 @@ the participant is not be subscribed to all nodes associated with the channel (i ]]> + + + + +

    + After the user has jointed the channel, the user's MIX Proxy MAY add the MIX channel to the user's roster using standard XMPP to update the roster. This is done to share the user's presence status with the channel and so the MIX channel will get presence information from the user. This roster entry will lead to the user's server correctly sending user's presence from all clients to the MIX channel. The roster subscription is configured with one way presence, as presence is sent to the MIX channel but no presence information is sent about the MIX channel. The user's MIX Proxy MUST remove this roster entry after the user leaves the channel. +

    + +

    + If the user does not wish to publish presence information to the channel, the user will not add the roster entry. A channel may require presence to be provided by all channel participants, which is controlled by the 'Participants Must Provide Presence' option. The channel MAY check that channel participants have done this and MAY remove participants that do not do this. +

    + +

    + A channel MAY publish an Avatar following &xep00084;. A client MAY make use of this information to associate an Avatar with the roster entry for a channel. +

    +

    A channel MAY store user preferences and parameters with each user. There are two preference options.