mirror of
https://github.com/moparisthebest/xeps
synced 2025-02-17 07:40:08 -05:00
XEP-0410: add mandatory service response for self-optimization
This commit is contained in:
parent
efb0c8cc80
commit
373f19a475
@ -180,9 +180,14 @@
|
|||||||
<p>Therefore, a MUC service supporting this protocol may directly respond
|
<p>Therefore, a MUC service supporting this protocol may directly respond
|
||||||
to a participant's Ping request to the participant's own nickname, as
|
to a participant's Ping request to the participant's own nickname, as
|
||||||
opposed to routing it to any of the participant's clients. A service
|
opposed to routing it to any of the participant's clients. A service
|
||||||
implementing this behavior needs to advertise the
|
implementing this optimization needs to advertise the
|
||||||
<tt>self-ping-optimization</tt> feature in the &xep0030; response on
|
<tt>self-ping-optimization</tt> feature in the &xep0030; response on
|
||||||
the individual MUC room JIDs.</p>
|
the individual MUC room JIDs, and it MUST respond to a self-ping request
|
||||||
|
as follows:</p>
|
||||||
|
<ul>
|
||||||
|
<li><strong>Successful IQ response</strong>: the client is joined to the MUC.</li>
|
||||||
|
<li><strong>Error (<not-acceptable>)</strong>: the client is not joined to the MUC.</li>
|
||||||
|
</ul>
|
||||||
<example caption='MUC Service Advertises Self-Ping Optimization'><![CDATA[
|
<example caption='MUC Service Advertises Self-Ping Optimization'><![CDATA[
|
||||||
<iq from='darkcave@chat.shakespeare.lit'
|
<iq from='darkcave@chat.shakespeare.lit'
|
||||||
type='result'>
|
type='result'>
|
||||||
|
Loading…
Reference in New Issue
Block a user