Skip to content

Commit

Permalink
XEP-0333: bring back disco feature. rename xep
Browse files Browse the repository at this point in the history
  • Loading branch information
iNPUTmice committed Apr 4, 2024
1 parent ac1ae8e commit 56a1d04
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
38 changes: 37 additions & 1 deletion xep-0333.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<?xml-stylesheet type='text/xsl' href='xep.xsl'?>
<xep>
<header>
<title>Displayed Markers (was: Chat Markers)</title>
<title>Displayed Markers</title>
<abstract>This specification introduces a method to let the sender, or multiple participants in a group chat, know that a client has displayed messages up to a certain point.</abstract>
&LEGALNOTICE;
<number>0333</number>
Expand Down Expand Up @@ -37,6 +37,17 @@
<email>[email protected]</email>
<jid>[email protected]</jid>
</author>
<revision>
<version>0.7.0</version>
<date>2024-04-04</date>
<initials>dg</initials>
<remark>
<ul>
<li>Change title to "Displayed Markers"</li>
<li>Bring back Service Discovery feature</li>
</ul>
</remark>
</revision>
<revision>
<version>0.6.0</version>
<date>2024-03-21</date>
Expand Down Expand Up @@ -145,6 +156,31 @@
</ul>
</section1>

<section1 topic='Determining support' anchor='disco'>
<p>If an entity supports the Displayed 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 features'>
<![CDATA[
<iq type='get' id='disco1' to='[email protected]/mobile' from='[email protected]/balcony'>
<query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>
]]>
</example>

<example caption='Entity responds with features'>
<![CDATA[
<iq type='result' id='disco1' from='[email protected]/mobile' to='[email protected]/balcony'>
<query xmlns='http://jabber.org/protocol/disco#info'>
...
<feature var='urn:xmpp:chat-markers:0'/>
...
</query>
</iq>
]]>
</example>
<p>Support can also be determined via &xep0115; or &xep0390;.</p>
</section1>

<section1 topic='Use Cases' anchor='usecases'>
<section2 topic='Requesting Displayed Markers' anchor='request'>
<p>An entity interested to know if the recipient has displayed a message attaches a &lt;markable/> element qualified by the 'urn:xmpp:chat-markers:0' namespace to the message. The message MUST possess an 'id' attribute for traceability.</p>
Expand Down
2 changes: 1 addition & 1 deletion xep.ent
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,7 @@ IANA Service Location Protocol, Version 2 (SLPv2) Templates</link></span> <note>
<!ENTITY xep0330 "<span class='ref'><link url='https://xmpp.org/extensions/xep-0330.html'>Pubsub Subscription (XEP-0330)</link></span> <note>XEP-0330: Pubsub Subscription &lt;<link url='https://xmpp.org/extensions/xep-0330.html'>https://xmpp.org/extensions/xep-0330.html</link>&gt;.</note>" >
<!ENTITY xep0331 "<span class='ref'><link url='https://xmpp.org/extensions/xep-0331.html'>Data Forms - Color Field Types (XEP-0331)</link></span> <note>XEP-0331: Data Forms - Color Field Types &lt;<link url='https://xmpp.org/extensions/xep-0331.html'>https://xmpp.org/extensions/xep-0331.html</link>&gt;.</note>" >
<!ENTITY xep0332 "<span class='ref'><link url='https://xmpp.org/extensions/xep-0332.html'>HTTP Over XMPP Transport (XEP-0332)</link></span> <note>XEP-0332: HTTP Over XMPP Transport &lt;<link url='https://xmpp.org/extensions/xep-0332.html'>https://xmpp.org/extensions/xep-0332.html</link>&gt;.</note>" >
<!ENTITY xep0333 "<span class='ref'><link url='https://xmpp.org/extensions/xep-0333.html'>Displayed Markers (was: Chat Markers) (XEP-0333)</link></span> <note>XEP-0333: Displayed Markers (was: Chat Markers) &lt;<link url='https://xmpp.org/extensions/xep-0333.html'>https://xmpp.org/extensions/xep-0333.html</link>&gt;.</note>" >
<!ENTITY xep0333 "<span class='ref'><link url='https://xmpp.org/extensions/xep-0333.html'>Displayed Markers (XEP-0333)</link></span> <note>XEP-0333: Displayed Markers &lt;<link url='https://xmpp.org/extensions/xep-0333.html'>https://xmpp.org/extensions/xep-0333.html</link>&gt;.</note>" >
<!ENTITY xep0334 "<span class='ref'><link url='https://xmpp.org/extensions/xep-0334.html'>Message Processing Hints (XEP-0334)</link></span> <note>XEP-0334: Message Processing Hints &lt;<link url='https://xmpp.org/extensions/xep-0334.html'>https://xmpp.org/extensions/xep-0334.html</link>&gt;.</note>" >
<!ENTITY xep0335 "<span class='ref'><link url='https://xmpp.org/extensions/xep-0335.html'>JSON Containers (XEP-0335)</link></span> <note>XEP-0335: JSON Containers &lt;<link url='https://xmpp.org/extensions/xep-0335.html'>https://xmpp.org/extensions/xep-0335.html</link>&gt;.</note>" >
<!ENTITY xep0336 "<span class='ref'><link url='https://xmpp.org/extensions/xep-0336.html'>Data Forms - Dynamic Forms (XEP-0336)</link></span> <note>XEP-0336: Data Forms - Dynamic Forms &lt;<link url='https://xmpp.org/extensions/xep-0336.html'>https://xmpp.org/extensions/xep-0336.html</link>&gt;.</note>" >
Expand Down

0 comments on commit 56a1d04

Please sign in to comment.