mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -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:
parent
7eaa3962a8
commit
7b85ba4f91
12
xep-0333.xml
12
xep-0333.xml
@ -30,6 +30,12 @@
|
|||||||
<email>im@spencermacdonald.com</email>
|
<email>im@spencermacdonald.com</email>
|
||||||
<jid>im@spencermacdonald.com</jid>
|
<jid>im@spencermacdonald.com</jid>
|
||||||
</author>
|
</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>
|
<revision>
|
||||||
<version>0.4</version>
|
<version>0.4</version>
|
||||||
<date>2020-04-15</date>
|
<date>2020-04-15</date>
|
||||||
@ -129,9 +135,9 @@
|
|||||||
<section1 topic='Determining support' anchor='disco'>
|
<section1 topic='Determining support' anchor='disco'>
|
||||||
<p>If an entity supports the Chat Markers protocol, it MUST report that by including a &xep0030;
|
<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>
|
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[
|
<![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'/>
|
<query xmlns='http://jabber.org/protocol/disco#info'/>
|
||||||
</iq>
|
</iq>
|
||||||
]]>
|
]]>
|
||||||
@ -139,7 +145,7 @@
|
|||||||
|
|
||||||
<example caption='Entity responds with features'>
|
<example caption='Entity responds with features'>
|
||||||
<![CDATA[
|
<![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'>
|
<query xmlns='http://jabber.org/protocol/disco#info'>
|
||||||
...
|
...
|
||||||
<feature var='urn:xmpp:chat-markers:0'/>
|
<feature var='urn:xmpp:chat-markers:0'/>
|
||||||
|
Loading…
Reference in New Issue
Block a user