mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
New roster namespace
This commit is contained in:
parent
15f08a7947
commit
9d5d201be9
@ -48,6 +48,7 @@
|
||||
Extend Roster Get to select format;
|
||||
Ensure that text defining attributes and elements reference the namespace;
|
||||
Change mix_nick_register to nick-register;
|
||||
Separate namespace for roster information;
|
||||
</p></remark>
|
||||
</revision>
|
||||
<revision>
|
||||
@ -2529,13 +2530,13 @@ 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 extending the standard roster get request by adding a child element <mix-info-request/> to the <query/> element. The <mix-info-request/> is 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 that annotates roster elements with MIX capability. The server MUST return the additional information. The request is made by extending the standard roster get request by adding a child element <annotate/> to the <query/> element. The <mix-info-request/> is qualified by the ‘urn:xmpp:mix:roster: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'/>
|
||||
<annotate xmlns=‘urn:xmpp:mix:roster:0'/>
|
||||
<query/>
|
||||
</iq>
|
||||
]]></example>
|
||||
@ -2546,12 +2547,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 <channel/> qualified by the ‘urn:xmpp:mix: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 <channel/> qualified by the ‘urn:xmpp:mix:roster:0' namespace included in the roster item, as shown inf the following example.
|
||||
</p>
|
||||
|
||||
<example caption="Roster Item Encoding of a MIX Channel"><![CDATA[
|
||||
<item jid='balcony@example.net'>
|
||||
<channel xmlns=‘urn:xmpp:mix:0'/>
|
||||
<channel xmlns=‘urn:xmpp:mix:roster:0'/>
|
||||
</item>
|
||||
]]></example>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user