From 4cf4d0b8e00ff95241c242cf253b26dd8780e0d6 Mon Sep 17 00:00:00 2001
From: Steve Kille
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):
-Name | Node | Description | ||
---|---|---|---|---|
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. |
Name | Node | Description |
---|---|---|
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 @@
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.