diff --git a/xep-0369.xml b/xep-0369.xml index a13075e5..893d6e68 100644 --- a/xep-0369.xml +++ b/xep-0369.xml @@ -42,6 +42,7 @@ sek

Remove Legacy MIX Namespace; + Add mix element in message to hold MIX additional information;

@@ -1652,8 +1653,15 @@ This approach enables flexible support of multiple clients for a MIX channel pa Harpier cries: 'tis time, 'tis time. ]]> +

+ The MIX channel then adds information to the message using a <mix> element. This element contains two elements: +

+
    +
  1. A <nick> element that contains the Nick of the message sender, taken from the Participants Node.
  2. +
  3. A <jid> element containing the full proxy JID of the sender.
  4. +

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 local server. 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. The message placed in the MAM archive is the reflected message without a 'to' element.

+ 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 local server. The message from value is the JID of the channel. The id of the message is the ID from the MAM archive and NOT the id used by the sender. The message placed in the MAM archive is the reflected message without a 'to' element.

Harpier cries: 'tis time, 'tis time. - thirdwitch - 123456#coven@mix.shakespeare.example + + thirdwitch + 123456#coven@mix.shakespeare.example + ]]> @@ -1672,12 +1682,14 @@ This approach enables flexible support of multiple clients for a MIX channel pa id='77E07BB0-55CF-4BD4-890E-3F7C0E686BBD' type='groupchat'> Harpier cries: 'tis time, 'tis time. - thirdwitch - 123456#coven@mix.shakespeare.example + + thirdwitch + 123456#coven@mix.shakespeare.example + ]]>

- 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 <submission-id> element in the <mix> element of the message copy going back to the originator's bare JID. The <submission-id> element holds the original id provided by the sender. This enables the originator to correlate the received message with the message submitted.

Harpier cries: 'tis time, 'tis time. - thirdwitch - 123456#coven@mix.shakespeare.example - 92vax143g + + thirdwitch + 123456#coven@mix.shakespeare.example + 92vax143g + ]]> @@ -2399,8 +2413,10 @@ This approach enables flexible support of multiple clients for a MIX channel pa id='77E07BB0-55CF-4BD4-890E-3F7C0E686BBD' type='groupchat'> Harpier cries: 'tis time, 'tis time. - thirdwitch - 123456#coven@mix.shakespeare.example + + thirdwitch + 123456#coven@mix.shakespeare.example + ]]> @@ -2414,8 +2430,10 @@ This approach enables flexible support of multiple clients for a MIX channel pa id='77E07BB0-55CF-4BD4-890E-3F7C0E686BBD' type='groupchat'> Harpier cries: 'tis time, 'tis time. - thirdwitch - 123456#coven@mix.shakespeare.example + + thirdwitch + 123456#coven@mix.shakespeare.example + Harpier cries: 'tis time, 'tis time. - thirdwitch - 123456#coven@mix.shakespeare.example + + thirdwitch + 123456#coven@mix.shakespeare.example + ]]>