Correct get roster encoding

This commit is contained in:
Steve Kille 2017-06-15 15:22:49 +01:00
parent 91d80e00d8
commit 6779a94b0e
1 changed files with 4 additions and 3 deletions

View File

@ -2528,13 +2528,14 @@ This approach enables flexible support of multiple clients for a MIX channel pa
</section2>
<section2 topic="MIX Roster Item Capability Sharing" anchor="mix-roster-capability-sharing">
<p>It is useful for a MIX client to know which roster members are MIX channels, as this will facilitate convenient presentation of subscribed MIX channels to the user. A MIX client MAY request that the server return this additional information. The server MUST return the additional information. The request is made by adding to the standard roster get request and element &lt;mix-info-request/&gt; qualified by the urn:xmpp:mix:0' namespace.</p>
<p>It is useful for a MIX client to know which roster members are MIX channels, as this will facilitate convenient presentation of subscribed MIX channels to the user. A MIX client MAY request that the server return this additional information. The server MUST return the additional information. The request is made by extending the standard roster get request by adding a sub-element &lt;mix-info-request/&gt; to the &lt;query/&gt; element qualified by the urn:xmpp:mix:0' namespace.</p>
<example caption="Roster Get Requesting MIX Information"><![CDATA[
<iq from='juliet@example.com/balcony'
id='bv1bs71f'
type='get'>
<query xmlns='jabber:iq:roster'/>
<mix-info-request xmlns=urn:xmpp:mix:0'/>
<query xmlns='jabber:iq:roster'>
<mix-info-request xmlns=urn:xmpp:mix:0'/>
<query/>
</iq>
]]></example>