Re:How to catch invisible friends on GTalk
by utkarshkukreti on Tuesday February 22, 2011 @10:40AM
(#2250164)
Maybe it's just me, but I'm not getting any presence information from invisible users (was signed in as invisible from Gmail from another account) when I log in.
This will have false-positives for people that genuinely have logged off (which gives the same <presence type='unavailable'/> stanza).
Another way to potentially check whether someone's online or not is to send a caps discovery request (ie. ask their client what XMPP extensions it support). If it replies, they're obviously online (haven't tested this, some clients may in fact be shrewd enough to ignore such requests when set to invisible).