From c37550fff83dd1af03235961720690ddb0864376 Mon Sep 17 00:00:00 2001 From: Steve Kille Date: Wed, 5 Oct 2016 13:58:42 +0100 Subject: [PATCH] Add information on original id to message reflected back to sender --- xep-0369.xml | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/xep-0369.xml b/xep-0369.xml index cea3cb04..2f25f738 100644 --- a/xep-0369.xml +++ b/xep-0369.xml @@ -1204,7 +1204,7 @@ the participant is not be subscribed to all nodes associated with the channel (i -

A user sends a message to a MIX channel as a standard groupchat message, in exactly the same way as for &xep0045;.

+

A client sends a message directly to a MIX channel as a standard groupchat message, in exactly the same way as for &xep0045;. Messages are sent directly to the channel and do not use the MIX Proxy.

Harpier cries: 'tis time, 'tis time. ]]> -

The message comes from the channel as a standard groupchat message, compatible with MUC. Messages are sent directly to the channel and do not use the MIX Proxy. Messages reflected back by the channel are addressed to the user's MIX Proxy, coming from the Full Proxy JID of the message sender.

-

AUTHOR NOTE AND QUESTION: Message id coming back is different in example. This is because the reflected message uses MAM ID, which seems helpful. However, it makes it harder for sender to correlate reflections. Need to be explicit as to compliant behaviour. Input as to whether the ID should change is solicited. A more complex option would be to include both IDs in some way.

+ +

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 full Proxy JID of the message sender. The id of the message is the ID from the MAM archive.

+ + Harpier cries: 'tis time, 'tis time. ]]> + +

+ 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. +

+ + + + Harpier cries: 'tis time, 'tis time. + 92vax143g + +]]> + +