[JDEV] roster managment and the server
    Robert Temple 
    RWTEMPLE at go.com
       
    Thu Sep 14 02:43:13 CDT 2000
    
    
  
The server responds inconsistenly to roster management and 
presence subscription messages if a client has not ever 
sent an iq to get the whole roster.  This isn't documented 
anywhere and it cost me a lot of time trying to figure it 
out.
Try it out, telnet to a server, login, but don't send a 
<iq type="get"><query xmlns="jabber:iq:roster"...
Sending a:
<iq type="set"><query xmlns="jabber:iq:roster"><item...
makes the server responds with only a
<iq type="result"...
But if a the whole roster was requested already, the server would have responded with a
<iq type="set"><query xmlns="jabber:iq:roster">
followed by a
<iq type="result"...
If this is by design it really ought to be documented somewhere.
-Robert
___________________________________________________
GO.com Mail                                    
Get Your Free, Private E-mail at http://mail.go.com
    
    
More information about the JDev
mailing list