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

XEP-0333: Change 'discover support' example

The 'discover support' example should not use a server/domain JID, as there's precious little for servers to support. Instead, a client JID is used.
This commit is contained in:
Guus der Kinderen 2023-07-19 17:42:40 +02:00
parent 7eaa3962a8
commit 7b85ba4f91

View File

@ -30,6 +30,12 @@
<email>im@spencermacdonald.com</email>
<jid>im@spencermacdonald.com</jid>
</author>
<revision>
<version>0.4.1</version>
<date>2023-07-19</date>
<initials>gdk</initials>
<remark>Changed discovery example to use client JIDs.</remark>
</revision>
<revision>
<version>0.4</version>
<date>2020-04-15</date>
@ -129,9 +135,9 @@
<section1 topic='Determining support' anchor='disco'>
<p>If an entity supports the Chat Markers protocol, it MUST report that by including a &xep0030;
feature of "urn:xmpp:chat-markers:0" in response to disco#info requests:</p>
<example caption='Client queries for server features'>
<example caption='Client queries for features'>
<![CDATA[
<iq type='get' id='disco1' to='capulet.lit' from='juliet@capulet.lit/balcony'>
<iq type='get' id='disco1' to='romeo@montague.lit/mobile' from='juliet@capulet.lit/balcony'>
<query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>
]]>
@ -139,7 +145,7 @@
<example caption='Entity responds with features'>
<![CDATA[
<iq type='result' id='disco1' from='capulet.lit' to='juliet@capulet.lit/balcony'>
<iq type='result' id='disco1' from='romeo@montague.lit/mobile' to='juliet@capulet.lit/balcony'>
<query xmlns='http://jabber.org/protocol/disco#info'>
...
<feature var='urn:xmpp:chat-markers:0'/>