[JDEV] How to check users presence?

Jens Alfke jens at mac.com
Wed Apr 11 11:21:11 CDT 2001


On Tuesday, April 10, 2001, at 08:57 PM, Peter Saint-Andre wrote:

> Are you subscribed to this person's presence (i.e., are you in the other
> person's roster with a subscription type of 'from' or 'both')? You need
> to be in order for the probe to work.

But the client shouldn't need to send a probe at all. The server will 
send you <presence> elements from your subscribed buddies right after 
you log in, and whenever their status changes. All you need to do is 
listen for them.

—Jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 712 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20010411/7dcf8ffb/attachment-0002.bin>


More information about the JDev mailing list