From a63c2ccd64060e9c122ea5a88be951e9e14f9726 Mon Sep 17 00:00:00 2001 From: Steve Kille Date: Tue, 20 Sep 2016 11:57:53 +0100 Subject: [PATCH] Add Participant and Information retrieval protocol --- xep-0369.xml | 66 +++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 60 insertions(+), 6 deletions(-) diff --git a/xep-0369.xml b/xep-0369.xml index e64776e8..ca76d132 100644 --- a/xep-0369.xml +++ b/xep-0369.xml @@ -309,7 +309,7 @@

If the Participants Node is not used, information on channel participants is not shared.

- + @@ -562,14 +562,66 @@ -

The Information Node contains various information about the channel that may be useful to the user. This can be read by the user.

-

AUTHOR'S NOTE: Define new protocol. Add example

+

The Information Node contains various information about the channel that may be useful to the user. This can be read by the XMPP Client directly or by a MIX Proxy.

+ + + + + +]]> + + + Witches Coven + A location not far from the blasted heath where the three witches meet + + + Hecate + Chief Witch + + + + + qANQR1DBwU4DX7jmYZnncm... + + + +]]> +

- Online clients in the channel are determined from the presence node. Participants in the channel are determined from the "urn:xmpp:mix:nodes:participants" node which will give proxy JID and nick. The jidmap node is used to map to real JIDs.

-

AUTHOR'S NOTE: Define new protocol. Add example

+ Online clients in the channel are determined from the presence node. Participants in the channel are determined from the Participants Node which will give proxy JID and nick. The jidmap node is used to map to real JIDs. An operation is provided to list channel participants. For JID Hidden channels, only the nicks are returned. For JID Visible channels, nicks and real JIDs are returned.

+ + + + +]]> + + + + + + + +]]> +
@@ -725,9 +777,10 @@ ]]>
+ - +

Each member of a channel may have a nick, which is how other users in the channel will see the user. In some cases a nick is not needed, for example where a user reads messages in a channel but does not send messages or share presence information. A nick MUST be present for a user to send a message to a channel or for a user's presence to be shared on a channel. There are four ways that a user's nick can be obtained. The choice of mechanism or mechanisms is dependent on channel policy:

@@ -766,6 +819,7 @@ ]]> +

A user can register a nick with the MIX service. Nick registration can be used ensure that a user is able to use the same nick in all channels in the service and to prevent other users from using a registered nick. This can help achieve a consistent experience across a set of channels and prevent user confusion. Support for nick registration by a MIX service is optional. Where nick registration is supported, nick registration may be optional or mandatory. Where a user has registered a Nick with the MIX service, it may be used by each channel according to policy for the channel. A nick is associated with the user's bare JID.