[jdev] jabber aliases?

Bruce Campbell list-jdev at vicious.dropbear.id.au
Mon Jun 19 07:40:04 CDT 2006

On Mon, 19 Jun 2006, Igor Goryachev wrote:

> On 19 Jun 2006, Tony Finch wrote:
>> Consider what happens if I send a presence subscription request to an
>> alias JID, and get a response from the real JID. Will my client behave
>> sensibly?
> Well, I suppose you will just have a dead JID in your roster (with
> subscription "none") in addition to the real JID.

RFC3921 #8.2 step #8 explicitly states that the original server should 
silently drop the request in such a situation.  Eg:

 	Tony at example.com ---subscribe--->  Igor.Goryachev at example.com

   This by way of aliasing gets resent to Igor at example.com .

   You then approve Tony's subscription:

 	Igor at example.com ---subscribed--->  Tony at example.com

   However, Tony at example.com's internal roster has no knowledge of
   Igor at example.com (ie, it asked Igor.Goryachev, not Igor), and
   thus Tony's server immediately drops the packet without passing it
   to Tony's client.

   Bruce Campbell

More information about the JDev mailing list