1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 08:45:04 -05:00

Merge commit 'refs/pull/726/head' of https://github.com/xsf/xeps

This commit is contained in:
Jonas Schäfer 2018-12-13 19:32:32 +01:00
commit 46a4629174

View File

@ -38,6 +38,15 @@
<shortname>MIX-PAM</shortname>
&ksmithisode;
&skille;
<revision>
<version>0.3.0</version>
<date>2018-12-11</date>
<initials>sek</initials>
<remark>
Discovery on Account rather than Server;
Add participant ID to roster;
</remark>
</revision>
<revision>
<version>0.2.1</version>
<date>2018-11-03</date>
@ -179,19 +188,18 @@ This approach enables flexible support of multiple clients for a MIX channel pa
</section2>
<section2 topic="Client Determines MIX Capability of Local Server" anchor="user-server-client-capability">
<section2 topic="Client Determines MIX Capability of Client's Server" anchor="user-server-client-capability">
<p>
Servers supporting this specification MUST advertise this to clients. A client wishing to use MIX MUST check for this capability in the local server before using MIX. The capability is represented by the 'urn:xmpp:mix:pam:0' feature.
Servers supporting this specification MUST advertise this to clients for which they wish to support this specification. A client wishing to use MIX MUST check for this capability in the local server before using MIX, by verifying support for the client's account. The capability is represented by the 'urn:xmpp:mix:pam:0' feature.
</p>
<example caption="Client Determines MIX Capability of Local Server"><![CDATA[
<example caption="Client Determines MIX Capability for Server Account"><![CDATA[
<iq from='hag66@shakespeare.example/UUID-c8y/1573'
id='lx09df27'
type='get'>
<query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>
<iq from='shakespeare.example'
id='lx09df27'
<iq id='lx09df27'
to='hag66@shakespeare.example/UUID-c8y/1573'
type='result'>
<query xmlns='http://jabber.org/protocol/disco#info'>
@ -534,12 +542,12 @@ This approach enables flexible support of multiple clients for a MIX channel pa
]]></example>
<p>
MIX channels in the roster information returned in response to a request for this additional MIX information MUST have an element &lt;channel/&gt; qualified by the urn:xmpp:mix:roster:0' namespace included in the roster item, as shown inf the following example.
MIX channels in the roster information returned in response to a request for this additional MIX information MUST have an element &lt;channel/&gt; qualified by the urn:xmpp:mix:roster:0' namespace included in the roster item. The &lt;channel/&gt; element MUST also include a 'participant-id' attribute that is the stable ID of the client. This facilitates the client to match messages that reference this stable ID. A MIX extended roster item is shown in the following example.
</p>
<example caption="Roster Item Encoding of a MIX Channel"><![CDATA[
<item jid='balcony@example.net'>
<channel xmlns='urn:xmpp:mix:roster:0'/>
<channel xmlns='urn:xmpp:mix:roster:0' participant-id='123456'/>
</item>
]]></example>