[jdev] Initial presence and contact capabilities
    Tomasz Sterna 
    tomek at xiaoka.com
       
    Thu Dec  4 08:54:32 CST 2008
    
    
  
Dnia 2008-12-04, czw o godzinie 14:49 +0100, Senko Rasic pisze:
> But in my use case, for offline contacts the client would
> return an error, while for contacts for which presence hasn't
> been received, it would wait until it is received.
> 
> My intention is to allow users to attempt a call (to someone
> on their roster) before the client is connected, by automagically
> connecting, getting presence, caps, and eventually calling if
> possible.
Is the error case really needed?
Couldn't you just handle both cases the second way?
It is possible that the offline contact gets online during the "waiting"
period. :-)
-- 
    
    
More information about the JDev
mailing list