[JDEV] Re: Re: adding new buddies

Robert Temple RWTEMPLE at go.com
Fri Sep 1 14:16:35 CDT 2000


> From: Thomas Muldowney

It does explain the reasons, but it still doesn't me 
do what I need to do:

I need to know if a JID does or does not exist when 
a user tries to add the JID to their buddy list.  If 
a user mistypes a JID, I don't want to fool the user 
into thinking that they've added a real person.

Besides, we would still be able to add people to a 
roster and not attempt to subscribe to them simply by 
omitting the ask="subscribe" attribute inside of the 
item element

-Robert

> Subject: Re: adding new buddies 

> There is a very good reason to this. The roster 
> is designed to be a place to keep almost an address 
> book of people that you want to communicate with. 
> You don't even have to subscribe to people to put 
> them into the roster. You could just store info 
> there in an address book style. Presence on the other 
> hand is completely designed around the concept of 
> availability, and therefore the subscribe to that 
> availability needs to be in that area. I hope this 
> clearly explains the fundamental theory behind all of 
> that. 

>> Robert Temple wrote:

>> I don't understand why the 
>> <persence type="subscribe"> 
>> packet is used to ask to subscribe to someone's 
>> presence. IMO it would be a lot more intuitive 
>> and useful if the 
>> <query xmlns="jabber:iq:roster"> 
>> packet provided this function. 
>>
>> Already, the 
>> <presence type="subscribe"> packet is linked with 
>> the presence packet. For example, if I send a 
>> <presence type="subscribe"> packet, I get back 
>> one or more "jabber:iq:roster" packets. 
>>
>> Couldn't the server handle a packet like: 
>> <iq type="set" ...> 
>> <query xmlns= "jabber:iq:roster"> 
>> <item ask="subscribe"...> 
>> ... 
>>
>> the same way it currently handles the 
>> <presence type="subscribe"> message? 
>>
>> and then instead of returning a 
>> <presence><status>Not Found</status>... packet when
>> the person doesn't exist, it could return back a 
>> <iq type='error'/ ...> 
>> message as one would expect. 


___________________________________________________
GO.com Mail                                    
Get Your Free, Private E-mail at http://mail.go.com






More information about the JDev mailing list