Skip to content

Commit a009a89

Browse files
committed
New ProtoXEP: No-reply JIDs
1 parent 8f86727 commit a009a89

File tree

1 file changed

+94
-0
lines changed

1 file changed

+94
-0
lines changed

inbox/no-reply-jids.xml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!DOCTYPE xep SYSTEM 'xep.dtd' [
3+
<!ENTITY % ents SYSTEM 'xep.ent'>%ents;
4+
]>
5+
<?xml-stylesheet type='text/xsl' href='xep.xsl'?>
6+
<xep><header>
7+
<title>No-reply JIDs</title>
8+
<abstract>This specification defines a way for JIDs to advertise that they don’t accept incoming chat messages.</abstract>
9+
&LEGALNOTICE;
10+
<number>xxxx</number>
11+
<status>proposed</status>
12+
<type>Standards Track</type>
13+
<sig>Standards</sig>
14+
<approver>
15+
Council
16+
</approver>
17+
<dependencies>
18+
<spec>XMPP Core</spec>
19+
</dependencies>
20+
<dependencies>
21+
<spec>XEP-0030</spec>
22+
</dependencies>
23+
<dependencies>
24+
<spec>XEP-0115</spec>
25+
</dependencies>
26+
<supersedes/>
27+
<supersededby/>
28+
<shortname>no-reply</shortname>
29+
<author>Matthew Wild</author>
30+
<revision>
31+
<version>0.0.1</version>
32+
<date>2025-10-08</date>
33+
<initials>mw</initials>
34+
<remark>
35+
<p>Initial submission.</p>
36+
</remark>
37+
</revision>
38+
</header>
39+
<section1 topic="Introduction" anchor="intro">
40+
41+
<p>This protocol defines a way for a JID to advertise that it does not accept incoming chat messages. For example, automated services which broadcast messages.</p>
42+
43+
<p>Such an indication allows clients to adapt their user interface accordingly (for example, hiding message input controls), instead of allowing the user to send a message and receive errors. This can improve the user experience and avoid confusion.</p>
44+
45+
</section1><section1 topic="Requirements" anchor="reqs">
46+
47+
<ul>
48+
<li>The protocol should not require clients to perform additional queries.</li>
49+
</ul>
50+
51+
</section1><section1 topic="Use Cases" anchor="usecases">
52+
53+
<p>One example use case for this protocol, would be a server which sends welcome messages or other announcements (maintenance, etc.) to its users.</p>
54+
55+
<p>As the users should not reply to these automated messages from the server’s JID, the server advertises 'urn:xmpp:noreply:0' in its &xep0030; features.</p>
56+
57+
<p>In most cases it is expected that the recipient will learn of the feature using &xep0115; rather than performing service discovery just to learn of the no-reply feature. In the case of a server’s JID, the entity capabilities are typically communicated to the client in the initial stream features.</p>
58+
59+
</section1><section1 topic="Accessibility Considerations" anchor="access">
60+
61+
<p>There are no known special accessibility considerations for this protocol.</p>
62+
63+
<p>It is expected that it may improve accessibility by simplifying interfaces where possible.</p>
64+
65+
</section1><section1 topic="Security Considerations" anchor="security">
66+
67+
<p>There are no known security considerations for this protocol, beyond those existing in normal service discovery flows.</p>
68+
69+
</section1><section1 topic="Privacy Considerations" anchor="privacy">
70+
71+
<p>There are no known privacy considerations for this protocol.</p>
72+
73+
</section1><section1 topic="IANA Considerations" anchor="iana">
74+
75+
<p>This protocol does not require any interaction with IANA.</p>
76+
77+
</section1><section1 topic="XMPP Registrar Considerations" anchor="registrar">
78+
79+
<p>This document registers the following service discovery feature:</p>
80+
81+
<ul>
82+
<li><tt>urn:xmpp:noreply:0</tt></li>
83+
</ul>
84+
85+
</section1><section1 topic="Design Considerations" anchor="design">
86+
87+
<p>It was debated whether to include the no-reply indication on a per JID, presence or message basis. As most chat clients show an interface featuring an input control per remote JID, and due to the potential optimization afforded by XEP-0115, it was decided to use service discovery.</p>
88+
89+
</section1><section1 topic="XML Schema" anchor="schema">
90+
91+
<p>This document defines no new XML elements or attributes.</p>
92+
</section1>
93+
</xep>
94+

0 commit comments

Comments
 (0)