mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
XEP-0280: Restructure Section 6: Eligible Messages
This commit is contained in:
parent
2a522c2148
commit
a74b45dae8
@ -255,8 +255,10 @@
|
||||
</section1>
|
||||
|
||||
<section1 topic='Messages Eligible for Carbons Delivery' anchor='which-messages'>
|
||||
<p>The focus of this specification is instant messaging applications and so those (and only those) &MESSAGE; stanzas used for instant messaging SHOULD be delivered as Carbons. Defining precisely which messages are used for instant messaging and which are not is difficult, as future specifications may add additional payloads used for, or not used for, instant messaging; as such, the rules for which messages are eligible for carbons delivery is left as an implementation detail for servers. The following is a suggested set of rules a server MAY use, or it MAY use its own; in either case it SHOULD follow the general intent of these rules:</p>
|
||||
<p>Possible delivery rules:</p>
|
||||
<p>The focus of this specification is instant messaging applications and so those (and only those) &MESSAGE; stanzas used for instant messaging SHOULD be delivered as Carbons.</p>
|
||||
|
||||
<p>Defining precisely which messages are used for instant messaging and which are not is difficult, as future specifications may add additional payloads used for, or not used for, instant messaging; as such, the rules for which messages are eligible for carbons delivery is left as an implementation detail for servers.</p>
|
||||
<p>The following is a suggested set of rules a server MAY use, or it MAY use its own; in either case it SHOULD follow the general intent of these rules:</p>
|
||||
<ul>
|
||||
<li>A &MESSAGE; is eligible for carbons delivery if it is of type "chat".</li>
|
||||
<li>A &MESSAGE; is eligible for carbons delivery if it is of type "normal" and it contains a <body> element.</li>
|
||||
@ -266,7 +268,7 @@
|
||||
</ul>
|
||||
<p>As this is a implementation detail of servers, clients MUST NOT rely on the server implementing a particular set of rules for which messages are eligible for Carbons delivery.</p>
|
||||
<p>Future specifications may have more precise requirements on which messages need to be eligible for carbons delivery; such future specifications will provide their own discovery and negotiation mechanisms, such that a client negotiating Carbons using the protocol defined in this specification will cause the server to consider messages eligible for Carbons delivery based on the requirements described herein.</p>
|
||||
<p>Note: previous versions of this specification limited eligible messages to those of type "chat" - however, this was generally found to be inadequate due to the proliferation of type "normal" messages used in instant messaging.</p>
|
||||
<p><strong>Note:</strong> previous versions of this specification limited eligible messages to those of type "chat" - however, this was generally found to be inadequate due to the proliferation of type "normal" messages used in instant messaging.</p>
|
||||
</section1>
|
||||
|
||||
<section1 topic='Receiving Messages' anchor='inbound'>
|
||||
|
Loading…
Reference in New Issue
Block a user