mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
remove node='mix' for channel discovery;
This commit is contained in:
parent
8a4b7b6e8d
commit
d872897dd5
20
xep-0369.xml
20
xep-0369.xml
@ -35,6 +35,14 @@
|
||||
<shortname>MIX-CORE</shortname>
|
||||
&ksmithisode;
|
||||
&skille;
|
||||
<revision>
|
||||
<version>0.14.0</version>
|
||||
<date>2018-12-10</date>
|
||||
<initials>sek</initials>
|
||||
<remark><p>
|
||||
remove node='mix' for channel discovery;
|
||||
</p></remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>0.13.0</version>
|
||||
<date>2018-06-06</date>
|
||||
@ -785,16 +793,17 @@
|
||||
id='ik3vs715'
|
||||
to='coven@mix.shakespeare.example'
|
||||
type='get'>
|
||||
<query xmlns='http://jabber.org/protocol/disco#info' node='mix'/>
|
||||
<query xmlns='http://jabber.org/protocol/disco#info'/>
|
||||
</iq>
|
||||
]]></example>
|
||||
<p>If the querying user is allowed to subscribe, the channel MUST return its identity and the features it supports. Note that a MIX channel MUST support MAM and so the response will always include both MIX and MAM support. All disco queries on a MIX channel and results returned MUST include the attribute node='mix'. The reason for this is to facilitate MIX channels and &xep0045; MUC rooms sharing the same JID. This extra parameter will enable a server to return appropriate information.</p>
|
||||
<p>If the querying user is allowed to subscribe, the channel MUST return its identity and the features it supports. Note that a MIX channel MUST support MAM and so the response will always include both MIX and MAM support. </p>
|
||||
<p>Note that a node MAY be both a MIX channel and a MUC room. In this case, the node will return both MIX and MUC information. MIX and MUC clients MUST be able to handle this.</p>
|
||||
<example caption='Channel Returns Disco Info Result'><![CDATA[
|
||||
<iq from='coven@mix.shakespeare.example'
|
||||
id='ik3vs715'
|
||||
to='hag66@shakespeare.example/UUID-c8y/1573'
|
||||
type='result'>
|
||||
<query xmlns='http://jabber.org/protocol/disco#info' node='mix'>
|
||||
<query xmlns='http://jabber.org/protocol/disco#info'>
|
||||
<identity
|
||||
category='conference'
|
||||
name='A Dark Cave'
|
||||
@ -806,7 +815,10 @@
|
||||
]]></example>
|
||||
</section2>
|
||||
<section2 topic='Discovering Nodes at a Channel' anchor='disco-channel-nodes'>
|
||||
<p>Use disco#items to find the nodes associated with a channel. Discovering nodes in MIX MUST use the node='mix' attribute. The MIX service MUST only return nodes that exist and that the user making the query has rights to subscribe to. </p>
|
||||
<p>Use disco#items to find the nodes associated with a channel. The MIX service MUST only return nodes that exist and that the user making the query has rights to subscribe to. </p>
|
||||
<p>
|
||||
Discovering nodes in MIX MUST use a node='mix' attribute in this query. This is to facilitate server implementations that support a single node being both a MIX channel and a MUC room. MUC rooms use this query to return a list of occupants. The node='mix' attribute allows a server to support both MIX and MUC queries without requiring any change to MUC clients. Where a node only supports a MIX channel, the server MUST reject queries without a node='mix' attribute.
|
||||
</p>
|
||||
<example caption='Entity Queries for Nodes at a Channel'><![CDATA[
|
||||
<iq from='hag66@shakespeare.example/UUID-c8y/1573'
|
||||
id='kl2fax27'
|
||||
|
Loading…
Reference in New Issue
Block a user