XEP-0410: add mandatory service response for self-optimization

Georg Lukas 2019-01-28 11:35:55 +01:00
parent efb0c8cc80
commit 373f19a475
1 changed files with 7 additions and 2 deletions

View File

@ -180,9 +180,14 @@
<p>Therefore, a MUC service supporting this protocol may directly respond
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
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
the individual MUC room JIDs.</p>
the individual MUC room JIDs, and it MUST respond to a self-ping request
as follows:</p>
<li><strong>Successful IQ response</strong>: the client is joined to the MUC.</li>
<li><strong>Error (&lt;not-acceptable&gt;)</strong>: the client is not joined to the MUC.</li>
<example caption='MUC Service Advertises Self-Ping Optimization'><![CDATA[
<iq from='darkcave@chat.shakespeare.lit'