From b5e0ea2ef63976614eb945a0b8fdc1195e23df72 Mon Sep 17 00:00:00 2001 From: Steve Kille Date: Fri, 2 Dec 2016 08:20:37 +0000 Subject: [PATCH] Change config & info management to directly use PubSub --- xep-0369.xml | 52 ++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 36 insertions(+), 16 deletions(-) diff --git a/xep-0369.xml b/xep-0369.xml index e6c66928..7385d75b 100644 --- a/xep-0369.xml +++ b/xep-0369.xml @@ -1705,20 +1705,23 @@ A client creates a channel by sending a simple request to the MIX service. A c

-

Authorized users, typically owners and sometimes administrators, may modify the channel information. The client MAY issue a get command to obtain a form that will facilitate update of the information node. The values in the form show current values, which be defaults or may have been explicitly set. In the following example, the channel name was previously set, but other values were not.

+

Authorized users, typically owners and sometimes administrators, may modify the channel information. The client MAY issue a pubsub get command to obtain a form that will facilitate update of the information node. The values in the form show current values, which be defaults or may have been explicitly set. In the following example, the channel name was previously set, but other values were not.

- + + + - + + urn:xmpp:mix:0 @@ -1736,16 +1739,18 @@ A client creates a channel by sending a simple request to the MIX service. A c label='Channel Administrative Contact' var='Contact'/> - + + ]]> -

Updating the information node is done using a set command of type info. The MIX channel MUST update the fields with values provided, leaving other fields unchanged. The result returns the id used in the information node item, which is the date/time of the modification.

+

Updating the information node is done using a pubsub set command. The MIX channel MUST update the fields with values provided, leaving other fields unchanged. The result returns the id used in the information node item, which is the date/time of the modification.

- + + urn:xmpp:mix:0 @@ -1760,32 +1765,40 @@ A client creates a channel by sending a simple request to the MIX service. A c greymalkin@shakespeare.lit - + + - + + + + + ]]>
-

Channel owners may modify the channel configuration. The client MAY issue a get command "config" to obtain a form that will facilitate update of the configuration node. Other clients MAY be authorized to use this command to see the channel configuration, but only owners may update the configuration. The values in the form show current values, which be defaults or may have been explicitly set. The following example shows a short form returned to illustrate the syntax. A typical configuration form will be much larger with many fields.

+

Channel owners may modify the channel configuration. The client MAY issue a pubsub get command to obtain a form that will facilitate update of the configuration node. Other clients MAY be authorized to use this command to see the channel configuration, but only owners may update the configuration. The values in the form show current values, which be defaults or may have been explicitly set. The following example shows a short form returned to illustrate the syntax. A typical configuration form will be much larger with many fields.

- + + + - + + urn:xmpp:mix:0 @@ -1795,16 +1808,18 @@ A client creates a channel by sending a simple request to the MIX service. A c label='Channel Administrator' var='Administrator'/> - + + ]]> -

Updating the information node is done using a set command of type config. The MIX channel MUST update the fields with values provided, leaving other fields unchanged. The result returns the id used in the configuration node item, which is the date/time of the modification.

+

Updating the information node is done using a pubsub set command. The MIX channel MUST update the fields with values provided, leaving other fields unchanged. The result returns the id used in the configuration node item, which is the date/time of the modification.

- + + urn:xmpp:mix:0 @@ -1825,14 +1840,19 @@ A client creates a channel by sending a simple request to the MIX service. A c true - + + - + + + + + ]]>