Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12000

Re: Retrieve the user's last presence mode.

$
0
0

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?


Viewing all articles
Browse latest Browse all 12000

Trending Articles