Hi. Though it is likely already to have tried.
If the state is [is not available] please invite it from GMailchat or GTalk to XMPP Addresses ([[email protected]] or [[email protected]],etc.) Please confirm Gtalk display that XMPP Addresses ([[email protected]] or [[email protected]],etc.) is online and confirm presence status on the GppEngine side. Please refer to the following links for details of XMPP Addresses. http://code.google.com/intl/us/appengine/docs/java/xmpp/overview.html Thanks. On 11月18日, 午前1:52, timzon <[email protected]> wrote: > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=.
