From 0566f46716deb43b09765f8e772d9cce54158077 Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Wed, 13 Dec 2006 21:30:56 +0000 Subject: [PATCH] nick change clarification git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@270 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0045.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/xep-0045.xml b/xep-0045.xml index 43bd6fa7..904981df 100644 --- a/xep-0045.xml +++ b/xep-0045.xml @@ -1525,7 +1525,13 @@ from='hag66@shakespeare.lit/pda' to='darkcave@macbeth.shakespeare.lit/oldhag'/> ]]> -

The service then sends two presence stanzas to the full JID of each occupant (including the occupant who is changing his or her room nickname), one of type "unavailable" for the old nickname and one indicating availability for the new nickname. The unavailable presence MUST contain the new nickname and an appropriate status code (namely 303) as extended presence information in an <x/> element qualified by the 'http://jabber.org/protocol/muc#user' namespace so that Jabber clients are able to provide relevant hints to occupants regarding the nickname change if desired.

+

The service then sends two presence stanzas to the full JID of each occupant (including the occupant who is changing his or her room nickname), one of type "unavailable" for the old nickname and one indicating availability for the new nickname.

+

The unavailable presence MUST contain the following as extended presence information in an <x/> element qualified by the 'http://jabber.org/protocol/muc#user' namespace:

+ +

This enables the recipients to correlate the old roomnick with the new roomnick.

The well-known Service Discovery node 'http://jabber.org/protocol/muc#rooms' enables discovery of the rooms in which a user is an occupant.

-

The well-known Service Discovery node 'x-roomuser-item' enables a user to discover his or registered roomnick from outside the room.

+

The well-known Service Discovery node 'x-roomuser-item' enables a user to discover his or her registered roomnick from outside the room.

The well-known Service Discovery node 'http://jabber.org/protocol/muc#traffic' enables discovery of the namespaces that are allowed in traffic sent through a room (see the Allowable Traffic section of this document).