Is anybody having problem with  xmpp.getPresence not providing valid
presence information for GTalk clients?

Using very simple function to check the availability of a GTalk
client:

XMPPService xmpp = XMPPServiceFactory.getXMPPService();
if (xmpp.getPresence(agentJid).isAvailable()) {
        log.info(agentJid.toString() + " is available (added to
list)");
} else {
        log.info(agentJid.toString() + " is not available");
}

getPresence always returns the same presence status for a user
regardless of the user real status.

I've tried this with GTalk clients on both GMail and Apps domains. The
result is exactly the same.

This is extremely blocking for our application as we need to validate
the presence of a group of GTalk clients to determine what to do with
a request.

Thanks in advance for your help,
 Jerome.



--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=.


Reply via email to