Is there anything, what we could do?
I need to retrieve a user's last presence on login and use that presence as "initial presence".
The requirement is, that it needs to be stored on the server, not in local DB or settings file.
1.) Does Openfire store the last presence for each user?
2.) Is there an XEP that I could use, like sending an <iq type="get"><query xmlns="jabber:lastpresence" /></iq> and retrieve the stored value?
Otherwise the only possibility I see, is to store it in the user's XML Private Storage, correct?
Or do you have any other ideas?