[JDEV] roster items

Justin Georgeson jgeorgeson at unboundtech.com
Fri Feb 14 12:58:01 CST 2003


The only roster item I can think of that doesn't have the form 
user at server is a transport like aim/msn-t/icqv7-t/yahoo. But those 
aren't added like a buddy is. Is there any scenario when someone might 
try to add a roster item with no '@server'?

<iq type="set" id="aad8d" >
<query xmlns="jabber:iq:roster" >
<item jid="joebob" /> </query></iq>

It doesn't seem to break anything but results don't seem to be 
generically predictable. (the server sends different replies depending 
on the jid, and they're not all error messages)

In case anyone is wondering, I'm in a debate over UI logic. The client 
is not allowed to append @server if not present. So I want the UI to not 
accept anything without it, since I can't find a good pattern to look 
for to create an error message when the jid isn't added to your roster.

-- 
Justin Georgeson
UnBound Technologies, Inc.
http://www.unboundtech.com
Main   713.329.9330
Fax    713.460.4051
Mobile 512.789.1962

5295 Hollister Road
Houston, TX 77040
Real Applications using Real Wireless Intelligence(tm)




More information about the JDev mailing list