mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
Merge pull request #1289 from guusdk/xep333-discovery-example
XEP-0333: Change 'discover support' example
This commit is contained in:
commit
2c5b7a3762
12
xep-0333.xml
12
xep-0333.xml
@ -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'/>
|
||||
|
Loading…
Reference in New Issue
Block a user