mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 02:02:16 -05:00
Address various issues mentioned in xsf@
This commit is contained in:
parent
e3560d71e6
commit
ac179689c5
@ -24,6 +24,12 @@
|
||||
<supersededby/>
|
||||
<shortname>IM-NG</shortname>
|
||||
&ksmith;
|
||||
<revision>
|
||||
<version>0.0.2</version>
|
||||
<date>2018-03-29</date>
|
||||
<initials>kis</initials>
|
||||
<remark><p>Fix various slips, mention reflection.</p></remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>0.0.1</version>
|
||||
<date>2018-03-28</date>
|
||||
@ -90,7 +96,6 @@
|
||||
to='benvolio@shakespeare.example'
|
||||
id='342'
|
||||
type='chat'>
|
||||
<im-ng xmlns='urn:xmpp:im-ng:0'/>
|
||||
<body>I neither know it nor can learn of him</body>
|
||||
</message>]]></example>
|
||||
<p>When an entity wants to send a non-error message to be received exclusively by a single resource, they include an <im-ng xmlns='urn:xmpp:im-ng:0'> element in the message. An IM-NG server receiving this MUST then send it to only the specified resource, if available, or respond with an error consistent with RFC-6121 ("return an error stanza to the sender, which SHOULD be <service-unavailable/>").</p>
|
||||
@ -106,8 +111,9 @@
|
||||
</section1>
|
||||
<section1 topic='Business Rules' anchor='rules'>
|
||||
<p>Any message of normal type, or type 'chat', 'groupchat' or 'headline' sent to a bare JID is distributed to all IM-NG clients (error messages sent to the bare JID are in response to server-generated stanzas, and so are not routed to clients).</p>
|
||||
<p>A message of type error, sent to a full JID without an <im-ng xmlns='urn:xmpp:im-ng:0'> element is to be distributed to all IM-NG clients</p>
|
||||
<p>Any message that is routed to all IM-NG clients is stored in the MAM archive, where available, and any message that would not be routed to all IM-NG clients is not stored in the MAM archive</p>
|
||||
<p>In order for interoperatility with other entities (contacts, remote servers etc.) that don't support IM-NG, old-style full-JID messages also need to be handled. When a server receives a message with type other than normal or 'chat' that does not contain an <im-ng xmlns='urn:xmpp:im-ng:0'> element are routed by the above rules as if they were sent to the bare JID</p>
|
||||
<p>In order for interoperability with other entities (contacts, remote servers etc.) that don't support IM-NG, old-style full-JID messages also need to be handled. When a server receives a message with type other than than 'groupchat' or 'headline' that does not contain an <im-ng xmlns='urn:xmpp:im-ng:0'> element it is to be routed by the above rules as if they were sent to the bare JID</p>
|
||||
<p>A client activating IM-NG MUST NOT also activate Carbons.</p>
|
||||
<p>An IM-NG client SHOULD send all IM-related messages to bare JIDs (as full-JID messages would not be distributed appropriately).</p>
|
||||
<p>An IM-NG client SHOULD ignore any IM-related messages that are sent to a full-JID with an <im-ng xmlns='urn:xmpp:im-ng:0'> element (see Security Considerations).</p>
|
||||
|
Loading…
Reference in New Issue
Block a user