1
0
mirror of https://github.com/moparisthebest/xeps synced 2025-01-30 23:10:10 -05:00

more edits

This commit is contained in:
Steve Kille 2018-05-15 16:19:13 +01:00
parent 357f3670fb
commit 5f99de94e6

View File

@ -427,7 +427,7 @@ This approach enables flexible support of multiple clients for a MIX channel pa
<p> <p>
The user's server will then pass this on to all online clients, with 'from' unchanged and 'to' set to the client receiving presence. An example is shown below: The user's server will then pass this on to all online clients, with 'from' unchanged and 'to' set to the client receiving presence. An example is shown below:
</p> </p>
<example caption="User's Server Sends Presecne to Client"> <example caption="User's Server Sends Presence to Client">
<![CDATA[<presence from='123435#coven@mix.shakespeare.example/UUID-a1j/7533' <![CDATA[<presence from='123435#coven@mix.shakespeare.example/UUID-a1j/7533'
to='hag99@shakespeare.example/UUID-rrr/1234' to='hag99@shakespeare.example/UUID-rrr/1234'
id='77E07BB0-55CF-4BD4-890E-3F7C0E686BBD'> id='77E07BB0-55CF-4BD4-890E-3F7C0E686BBD'>
@ -436,10 +436,13 @@ This approach enables flexible support of multiple clients for a MIX channel pa
</presence>]]></example> </presence>]]></example>
<p> <p>
The user's local server will will receive a flow of all presence updates for the user. It will pass this presence information on to all online clients. This ensures that an online client is kept updated with presence. The user's local server will receive a flow of all presence updates for the user. It will pass this presence information on to all online clients. This ensures that an online client is kept updated with presence.
When a client goes offline, it will cease getting presence updates. Presence updates will continue to flow to the user's local server, and so the local server is able maintain up to date presence state for the channel, even when there are no online clients. When a user had no online clients the user's server MAY continue to maintain MIX presence status for the user or MAY discard inbound MIX presence information. When a client goes offline, it will cease getting presence updates. Presence updates will continue to flow to the user's local server, and so the local server is able maintain up to date presence state for the channel, even when there are no online clients. When a user had no online clients the user's server MAY continue to maintain MIX presence status for the user or MAY discard inbound MIX presence information.
</p> </p>
<p>
The client receiving the presense can parse the proxy JID, specfied in MIX-CORE to identify the channel to which the message relates. The proxy JID can be looked up in the Participant's node to determine Nick and real bare JID. The real bare JID can be combined with the resource form the presense stanze to determine the full real JID of the sender. This is described in MIX-CORE.
</p>
</section3> </section3>