1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-21 23:28:51 -05:00

User Presence Probes on Channel Startup

Add user Presence preference
This commit is contained in:
Steve Kille 2016-11-04 10:56:47 +00:00 committed by Sam Whited
parent e42bb0af44
commit 504873bf23

View File

@ -935,6 +935,9 @@ the participant is not be subscribed to all nodes associated with the channel (i
<p>
The user may specify that no Private Messages are to be sent from the channel, and allow vCard retrieval.
</p>
<p>
The user may specify that presence is not to be shared, which will prevent the MIX Channel from sending a presence probe for the user on channel start-up. The user will also choose to not include the MIX channel in the user's roster, so that presence will not be updated. Where the channel configuration sets 'Participants Must Provide Presence', this variable MUST be set to 'Share'.
</p>
<p>
The following table sets out the standardized user preference values. A MIX implementation may use other values.
</p>
@ -946,6 +949,8 @@ the participant is not be subscribed to all nodes associated with the channel (i
<tr><td>'Private Messages'</td><td>'Allow', 'Block'</td> <td>'Allow'</td></tr>
<tr><td>'vCard'</td><td>'Allow', 'Block'</td> <td>'Block'</td></tr>
<tr><td>'Presence'</td><td>'Share', 'Not Share'</td><td>'Share'</td></tr>
</table>
<p>When joining a channel, the client may specify one or more preference options as a &xep0004; form. In the response, the server MUST specify all of the user preferences supported by the server, with default values if the user has not requested a different value. The following example shows joining a channel and setting a preference.</p>
@ -1611,7 +1616,11 @@ the participant is not be subscribed to all nodes associated with the channel (i
</section3>
</section2>
<section2 topic="Presence Initializion" anchor="use-presence-initialize">
<p>
For an active MIX Channel, the presence node is updated as channel participants change status and presence information is sent to the channel. When a MIX channel starts, typically when the associated MIX Service and Server start, there is a need to initialize the presence node. This is done by the XMPP server associated with the MIX channel sending out a presence probe for each channel participant, following the presence probe process specified in &rfc6121;. A presence probe MUST NOT be sent for users who have set presence preference to not sharing.
</p>
</section2>
<section2 topic="Use of MAM" anchor="use-mam">
<p>