I see XMPP getPresence() has been deprecated in favor of unnecessarily
complicated (for the task of checking presence) XMPP postbacks... so
now I have to build a little subsystem to track and maintain user
state, when state could be detected with 1 simple call in earlier GAE
versions. I don't want to catch and inspect every XMPP state change
from all users - that is a waste of billable resources.

All I want is to check, when necessary, that the user is present or
not. What was wrong with the code below? How about keeping it
simple... as with previous versions?

if (xmpp.getPresence(jid).isAvailable()) {
    // do stuff
}

Working around the limitations of GAE is becoming increasingly
frustrating. Call me cynical, but all this deprecation does is
increase billable usage and create unnecessary code.

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

Reply via email to