mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 18:22:24 -05:00
Changes to message reflection
This commit is contained in:
parent
8c62f6b049
commit
c649230b43
10
xep-0369.xml
10
xep-0369.xml
@ -1278,25 +1278,29 @@ the participant is not be subscribed to all nodes associated with the channel (i
|
|||||||
</message>
|
</message>
|
||||||
]]></example>
|
]]></example>
|
||||||
<p>The MIX channel then puts a copy of the message into the MAM archive for the channel and sends a copy of the message to each participant in
|
<p>The MIX channel then puts a copy of the message into the MAM archive for the channel and sends a copy of the message to each participant in
|
||||||
standard groupchat format. These messages sent by the channel are addressed to the bare JID of each participant and this will be handled by the participant's MIX Proxy. The message from value is the JID of the channel, with the resource set to the nick of the sender, so that message recipients can identify the sender. The id of the message is the ID from the MAM archive and NOT the id used by the sender.</p>
|
standard groupchat format. These messages sent by the channel are addressed to the bare JID of each participant and this will be handled by the participant's MIX Proxy. The message from value is the JID of the channel. To enable sender identification, the Nick and bare proxy JID of the sender are included in the message as MIX parameters. The id of the message is the ID from the MAM archive and NOT the id used by the sender.</p>
|
||||||
|
|
||||||
<example caption="Channel Reflects Message to Participants"><![CDATA[
|
<example caption="Channel Reflects Message to Participants"><![CDATA[
|
||||||
<message from='coven@mix.shakespeare.example/thirdwitch'
|
<message from='coven@mix.shakespeare.example'
|
||||||
to='hecate@shakespeare.example'
|
to='hecate@shakespeare.example'
|
||||||
id='77E07BB0-55CF-4BD4-890E-3F7C0E686BBD'
|
id='77E07BB0-55CF-4BD4-890E-3F7C0E686BBD'
|
||||||
type='groupchat'>
|
type='groupchat'>
|
||||||
<body>Harpier cries: 'tis time, 'tis time.</body>
|
<body>Harpier cries: 'tis time, 'tis time.</body>
|
||||||
|
<nick xmlns='urn:xmpp:mix:0'>thirdwitch</nick>
|
||||||
|
<jid xmlns='urn:xmpp:mix:0'>coven+123456@mix.shakespeare.example</jid>
|
||||||
</message>
|
</message>
|
||||||
]]></example>
|
]]></example>
|
||||||
<p>
|
<p>
|
||||||
The messages sent to participants have a different message id to the originally submitted message. This does not impact most recipients, but it does not allow the message originator to correlate the message with the submitted message. To address this the MIX channel MUST include an additional element of the message copy going back to the originator's bare JID that includes the original id. This enables the originator to correlate the received message with the message submitted.
|
The messages sent to participants have a different message id to the originally submitted message. This does not impact most recipients, but it does not allow the message originator to correlate the message with the submitted message. To address this the MIX channel MUST include an additional element of the message copy going back to the originator's bare JID that includes the original id. This enables the originator to correlate the received message with the message submitted.
|
||||||
</p>
|
</p>
|
||||||
<example caption="Channel Reflects Message back to Originator"><![CDATA[
|
<example caption="Channel Reflects Message back to Originator"><![CDATA[
|
||||||
<message from='coven@mix.shakespeare.example/thirdwitch'
|
<message from='coven@mix.shakespeare.example'
|
||||||
to='hag66@shakespeare.example'
|
to='hag66@shakespeare.example'
|
||||||
id='77E07BB0-55CF-4BD4-890E-3F7C0E686BBD'
|
id='77E07BB0-55CF-4BD4-890E-3F7C0E686BBD'
|
||||||
type='groupchat'>
|
type='groupchat'>
|
||||||
<body>Harpier cries: 'tis time, 'tis time.</body>
|
<body>Harpier cries: 'tis time, 'tis time.</body>
|
||||||
|
<nick xmlns='urn:xmpp:mix:0'>thirdwitch</nick>
|
||||||
|
<jid xmlns='urn:xmpp:mix:0'>coven+123456@mix.shakespeare.example</jid>
|
||||||
<submission-id xmlns='urn:xmpp:mix:0'>92vax143g</submission-id>
|
<submission-id xmlns='urn:xmpp:mix:0'>92vax143g</submission-id>
|
||||||
</message>
|
</message>
|
||||||
]]></example>
|
]]></example>
|
||||||
|
Loading…
Reference in New Issue
Block a user