On 07/16/2013 12:34 PM, Lance Stout wrote:
I'm assuming that you're doing direct client to client connections for this (eg, link local, etc)? Otherwise the server should ensure that the presence is kept up to date.
You're correct in that a typical client should not be using this. It could be used by servers on behalf of clients, or by components that must do presence management themselves.
There is also the new XEP-0334 for processing hints that could be expanded, and it might be a good fit for this: <presence from="alice" to="bob"> <ttl xmlns="urn:xmpp:hints" seconds="600" /> </presence>
Ah yes, I think it could fit there. Justin
