mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 10:12:19 -05:00
Editorial
This commit is contained in:
parent
a169bcf916
commit
5c59151675
14
xep-0404.xml
14
xep-0404.xml
@ -152,13 +152,13 @@ This change means that the client will not be able to determine real JID of the
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
When JIDs are being hidden, the resource of the full JIDs stored in the presence node MUST also be anonymized using a similar mechanism.
|
When JIDs are being hidden, the resource of the full JIDs stored in the presence node MUST also be anonymized using a similar mechanism.
|
||||||
Where the JID is not being hidden, the resource is simply the resource of the clients full JID. Where the JID is hidden, the resource is replaced with a generated value. For example, 'hag66@shakespeare.example/UUID-a1j/7533' in the channel coven might have an encoded JID of '123456#coven@mix.shakespeare.example/789'. There is no client visible mapping maintained, as this is not needed. The MIX channel will need to maintain a mapping, to support directly addressing clients, such as for client to client disco#info queries. While an encoded JID is held in the presence node, the mapping to real JID MUST NOT be changed. When adding a client to the presence node, the server MAY add the same anonymized JID as used before by that client, or it MAY create a different anonymized JID.
|
Where the JID is hidden, the resource is replaced with a generated value. For example, 'hag66@shakespeare.example/UUID-a1j/7533' in the channel coven might have an encoded JID of '123456#coven@mix.shakespeare.example/789'. There is no client visible mapping maintained, as this is not needed. The MIX channel will need to maintain a mapping, to support directly addressing clients, such as for client to client disco#info queries. While an encoded JID is held in the presence node, the mapping to real JID MUST NOT be changed. When adding a client to the presence node, the server MAY add the same anonymized JID as used before by that client, or it MAY create a different anonymized JID.
|
||||||
</p>
|
</p>
|
||||||
</section2>
|
</section2>
|
||||||
|
|
||||||
|
|
||||||
<section2 topic="JID Map Node" anchor="concepts-nodes">
|
<section2 topic="JID Map Node" anchor="concepts-nodes">
|
||||||
<p>This specification defines a JID Map node, so that administrators can see JIDs for JID Hidden channels.</p>
|
<p>This specification defines a JID Map node, so that administrators can see JIDs for JID Hidden channels. This node MUST be present for JID Hidden and JID Maybe Visible channels. This node MAY be present for JID Visible channels. If this node is not present, JIDs will all be available in the participants node.</p>
|
||||||
<table caption="JID Map Node">
|
<table caption="JID Map Node">
|
||||||
|
|
||||||
<tr><td>JID Map</td><td>'urn:xmpp:mix:nodes:jidmap'</td><td>For storing a list of Stable Participant IDs from the participants node with a 1:1 mapping to the corresponding JIDs.</td><td>Automatic</td><td>PubSub</td></tr>
|
<tr><td>JID Map</td><td>'urn:xmpp:mix:nodes:jidmap'</td><td>For storing a list of Stable Participant IDs from the participants node with a 1:1 mapping to the corresponding JIDs.</td><td>Automatic</td><td>PubSub</td></tr>
|
||||||
@ -170,7 +170,7 @@ This change means that the client will not be able to determine real JID of the
|
|||||||
|
|
||||||
|
|
||||||
<p>The JID Map node is used to associate a Stable Participant ID to its corresponding bare JID. It is a PubSub node with the 'node' attribute set to 'urn:xmpp:mix:nodes:jidmap'. The JID Map node MUST have one entry for each entry in the Participants node. This value is added when a user joins the channel and is removed when the user leaves the channel.
|
<p>The JID Map node is used to associate a Stable Participant ID to its corresponding bare JID. It is a PubSub node with the 'node' attribute set to 'urn:xmpp:mix:nodes:jidmap'. The JID Map node MUST have one entry for each entry in the Participants node. This value is added when a user joins the channel and is removed when the user leaves the channel.
|
||||||
Each item is identified by Stable Participant ID mapping to the bare JID. This node is used to give administrator access to JIDs. This node MUST NOT be modified directly using pubsub.
|
Each item is identified by Stable Participant ID mapping to the bare JID. This node is used to give administrator access to JIDs. A MIX server MUST NOT allow this node to be modified directly using pubsub.
|
||||||
Only administrators can subscribe to this node. The JID Map node is a permanent node with one item per participant. Information is stored in a <participant/> element qualified by the 'urn:xmpp:mix:anon:0' namespace. The real JID is stored in a <jid/> child element of the <participant/> element. </p>
|
Only administrators can subscribe to this node. The JID Map node is a permanent node with one item per participant. Information is stored in a <participant/> element qualified by the 'urn:xmpp:mix:anon:0' namespace. The real JID is stored in a <jid/> child element of the <participant/> element. </p>
|
||||||
<example caption="Value of JID Map Node"><![CDATA[
|
<example caption="Value of JID Map Node"><![CDATA[
|
||||||
<items node='urn:xmpp:mix:nodes:jidmap'>
|
<items node='urn:xmpp:mix:nodes:jidmap'>
|
||||||
@ -357,12 +357,12 @@ This change means that the client will not be able to determine real JID of the
|
|||||||
<section2 topic='Sending Private Messages' anchor='usecase-user-private-messages'>
|
<section2 topic='Sending Private Messages' anchor='usecase-user-private-messages'>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Private Messages are used to provide communication with another channel participant through the MIX channel, where the initiating user does not know the real JID of the channel participant. A message is addressed to the channel using the encoded JID of the client to which the message is being sent. This is shown in the following example.
|
Private Messages are used to provide communication with another channel participant through the MIX channel. This may be used where the initiating user does not know the real JID of the channel participant or for other reasons. A message sent through the channel is addressed using the encoded JID of the client to which the message is being sent. Private messages will generally be sent to a bare JID, and this is shown in the following example. Private messages MAY be sent to a full JID.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<example caption="User Sends a Private Message"><![CDATA[
|
<example caption="User Sends a Private Message"><![CDATA[
|
||||||
<message from='hag66@shakespeare.example/UUID-a1j/7533'
|
<message from='hag66@shakespeare.example/UUID-a1j/7533'
|
||||||
to='444456#coven@mix.shakespeare.example/4588'
|
to='444456#coven@mix.shakespeare.example'
|
||||||
id='92vax143g'>
|
id='92vax143g'>
|
||||||
<body>Private meeting about Macbeth???</body>
|
<body>Private meeting about Macbeth???</body>
|
||||||
</message>
|
</message>
|
||||||
@ -374,13 +374,13 @@ This change means that the client will not be able to determine real JID of the
|
|||||||
|
|
||||||
<example caption="MIX Channel Sends Private Message to Recipient"><![CDATA[
|
<example caption="MIX Channel Sends Private Message to Recipient"><![CDATA[
|
||||||
<message from='123456#coven@mix.shakespeare.example/9988'
|
<message from='123456#coven@mix.shakespeare.example/9988'
|
||||||
to='hag99@shakespeare.example/UUID-a1j/7533'
|
to='hag99@shakespeare.example'
|
||||||
id='92vax143g'>
|
id='92vax143g'>
|
||||||
<body>Private meeting about Macbeth???</body>
|
<body>Private meeting about Macbeth???</body>
|
||||||
</message>
|
</message>
|
||||||
]]></example>
|
]]></example>
|
||||||
|
|
||||||
<p>Private Messages MAY be archived using MAM by the XMPP servers associated with initiator and responder. Private Messages MUST NOT be archived by the MIX channel.</p>
|
<p> Private Messages MUST NOT be archived by the MIX channel. Private Messages MAY be archived using MAM by the XMPP servers associated with initiator and responder. </p>
|
||||||
</section2>
|
</section2>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user