1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-23 17:52:15 -05:00

Reflect messages

This doesn't wrap them in a forward, which is something that needs
discussion
This commit is contained in:
Kevin Smith 2018-03-29 08:45:27 +01:00
parent ac179689c5
commit aadcc2d325

View File

@ -89,7 +89,7 @@
type='result'/>]]></example> type='result'/>]]></example>
</section2> </section2>
<section2 topic='Sending messages' anchor='sending'> <section2 topic='Sending messages' anchor='sending'>
<p>When an entity wants to send a non-error message to be handled by all a user's IM-NG clients they will send it to the user's bare JID, which the receiving server then MUST send to all IM-NG resources.</p> <p>When an entity wants to send a non-error message to be handled by all a user's IM-NG clients they will send it to the user's bare JID, which the receiving server then MUST send to all the contact's IM-NG resources, and the sending server must reflect to all the user's IM-NG resources.</p>
<example caption='Client sends a message that IM-NG will route to all resources'><![CDATA[ <example caption='Client sends a message that IM-NG will route to all resources'><![CDATA[
<message xmlns='jabber:client' <message xmlns='jabber:client'
from='montague@montague.example/bas149a' from='montague@montague.example/bas149a'
@ -117,6 +117,7 @@
<p>A client activating IM-NG MUST NOT also activate Carbons.</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 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 &lt;im-ng xmlns='urn:xmpp:im-ng:0'&gt; element (see Security Considerations).</p> <p>An IM-NG client SHOULD ignore any IM-related messages that are sent to a full-JID with an &lt;im-ng xmlns='urn:xmpp:im-ng:0'&gt; element (see Security Considerations).</p>
<p>When reflecting an IM-NG client's outbound bare-JID messages, the server SHOULD reflect the archived version (i.e. after any transforms have taken place).</p>
</section1> </section1>
<!--<section1 topic='Implementation Notes' anchor='impl'> <!--<section1 topic='Implementation Notes' anchor='impl'>
<p>OPTIONAL.</p> <p>OPTIONAL.</p>