From a0f67a4050373b392b21a1e18aaf0c683cc09de2 Mon Sep 17 00:00:00 2001 From: Steve Kille Date: Wed, 21 Dec 2016 10:13:15 +0000 Subject: [PATCH] Update 1:1 Conversion to history --- xep-0369.xml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/xep-0369.xml b/xep-0369.xml index be92768a..cc4af2c6 100644 --- a/xep-0369.xml +++ b/xep-0369.xml @@ -800,14 +800,13 @@ the participant is not be subscribed to all nodes associated with the channel (i - + ]]> -

The user that has been added to the channel is identified by the item id of the item added to the pubsub node, which is the proxy JID of the new channel participant. Each <participant> element will include the nick of the user being added, which will be how the user will typically be shown in the channel.

+

The user that has been added to the channel is identified by the item id of the item added to the pubsub node, which is the proxy JID of the new channel participant. Note that the <participant> element does not include a nick of the user being added. The nick MAY be set after the join.

A user may subsequently modify subscription to nodes in a channel by sending a subscription modification request, as shown in the following example.

@@ -1705,15 +1704,29 @@ A client creates a channel by sending a simple request to the MIX service. A c

- A common use case for an ad hoc channel is where two users are engaged in a 1:1 chat and wish to broaden the discussion. Prior to bringing more users into a channel, using standard invitation process, there is a need to move a dialogue. The first step is for one of the two users to create an ad hoc channel, as described in the previous section. The other user will then be invited, and can switch to the new channel. It may also be useful to share some or all of the messages from the 1:1 discussion into the new channel. This is done by sending these messages to the channel. These messages are marked as <resend> which includes the original message time to facilitate appropriate display. + A common use case for an ad hoc channel is where two users are engaged in a 1:1 chat and wish to broaden the discussion. Prior to bringing more users into a channel, using standard invitation process, there is a need to move a dialogue. The first step is for one of the two users to create an ad hoc channel, as described in the previous section. The other user will then be invited, and can switch to the new channel.

+

+ It may also be useful to share some or all of the messages from the 1:1 discussion into the new channel. The mechanism to do this is to have a special message format that includes information on the original message. + This will generally be done by the user creating the channel before the other user is invited, but may be sent by either the user creating the channel or the 1:1 chat partner at any time. + These messages are marked as <resend> which includes an number of parameters facilitate appropriate display of this selected chat history. This has the following parameters: +

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