[JDEV] adding new buddies
Robert Temple
RWTEMPLE at go.com
Tue Aug 29 13:01:45 CDT 2000
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 and one would expect.
-Robert
___________________________________________________
GO Network Mail
Get Your Free, Private E-mail at http://mail.go.com
More information about the JDev
mailing list