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

XEP-0410: advertise self-ping optimization

This commit is contained in:
Georg Lukas 2019-01-15 16:48:33 +01:00
parent f24dff484b
commit 4bc357a0ad

View File

@ -174,7 +174,19 @@
ping request might never be responded to.</p>
<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.</p>
opposed to routing it to any of the participant's clients. A service
implementing this behavior needs to advertise the
<tt>self-ping-optimization</tt> feature in the &xep0030; response on
the individual MUC room JIDs.</p>
<example caption='MUC Service Advertises Self-Ping Optimization'><![CDATA[
<iq from='darkcave@chat.shakespeare.lit'
type='result'>
<query xmlns='http://jabber.org/protocol/disco#info'>
<!-- ... -->
<feature var='http://jabber.org/protocol/muc#self-ping-optimization'/>
</query>
</iq>
]]></example>
</section2>
</section1>
<section1 topic='Implementation Notes' anchor='impl'>