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. :-) -- _______________________________________________ JDev mailing list FAQ: http://www.jabber.org/discussion-lists/jdev-faq Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [EMAIL PROTECTED] _______________________________________________
