From 2a37c3a61208937b78a3d538532d24f1236398b5 Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Wed, 3 Sep 2008 22:06:57 +0000 Subject: [PATCH] initial published version git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2199 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0249.xml | 158 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 xep-0249.xml diff --git a/xep-0249.xml b/xep-0249.xml new file mode 100644 index 00000000..181f24fa --- /dev/null +++ b/xep-0249.xml @@ -0,0 +1,158 @@ + + +%ents; +]> + + +
+ Direct MUC Invitations + This specification defines a method for inviting a contact to a multi-user chat room directly, instead of sending the invitation through the chat room. + &LEGALNOTICE; + 0249 + Experimental + Standards Track + Standards + Council + + XMPP Core + XEP-0045 + + + + NOT_YET_ASSIGNED + &stpeter; + + 0.1 + 2008-09-03 + psa +

Initial published version.

+
+ + 0.0.5 + 2008-09-02 + psa +

Modified to use old jabber:x:conference namespace.

+
+ + 0.0.4 + 2008-08-18 + psa +

Added note about handling multiple invitations.

+
+ + 0.0.3 + 2008-08-16 + psa +

Added implementation note about members-only rooms.

+
+ + 0.0.2 + 2008-08-14 + psa +

Changed venue element to conference element.

+
+ + 0.0.1 + 2008-08-12 + psa +

First draft.

+
+
+ + +

&xep0045; defines a protocol for groupchat over XMPP. That specification includes a method for inviting a contact to a room, where the invitation is mediated by the room itself: the user sends the invitation to the room, which in turn sends it to the contact. Unfortunately, a mediated invitation might not be delivered to the contact, for example if the contact blocks communication with entities not in its roster as specified in &xep0016;. As privacy lists have become more common, MUC invitations have been increasingly blocked at the server side, resulting in an undesirable user experience. Therefore, this specification defines a method for sending an invitation directly from the user to the contact, which re-uses the original 'jabber:x:conference' namespace in use before XEP-0045 was written.

+
+ + +

A user invites a contact to a room by sending a &MESSAGE; stanza containing only an <invitation/> element qualified by the 'jabber:x:conference' namespace &NSNOTE;.

+ + + + ]]> +

The 'jid' attribute is REQUIRED.

+

Upon receiving a direct invitation, the contact's client SHOULD present the invitation to the contact so that the contact can accept it or decline it. If the contact accepts the invitation, the contact's client shall join the room as described in XEP-0045. If the contact declines the invitation, it shall silently discard the invitation.

+
+ + +

If an entity supports the protocol specified herein, it MUST advertise that fact by returning a feature of "jabber:x:conference" in response to &xep0030; information requests &NSNOTE;.

+ + + + ]]> + + + ... + + ... + + + ]]> +

In order for an application to determine whether an entity supports this protocol, where possible it SHOULD via the dynamic, presence-based profile of service discovery defined in &xep0115;. However, if an application has not received entity capabilities information from an entity, it SHOULD use explicit service discovery instead.

+
+ + +

Before inviting a contact to a members-only room, a user SHOULD check to see if the contact is already a member and, if not, add the contact to the member list (or ask a room administrator to do so).

+

If a client receives multiple invitations to the same room (e.g., a mediated invitation as defined in XEP-0045 and a direct invitation as defined here), the client SHOULD present only one of the invitations to a human user. If a client receives an invitation to a room in which the user is already an occupant, the client SHOULD silently discard the invitation.

+
+ + +

To follow.

+
+ + +

This document requires no interaction with &IANA;.

+
+ + + +

Upon advancement of this specification to a status of Draft, the ®ISTRAR; shall add 'jabber:x:conference' to its registry of protocol namespaces.

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + ]]> + + +