I am developing a chat application and I want the user's JID with whom the current user had a chat with for the last time or whose message was received for the last time.
Can anyone help me to find out the solution of this issue?
I am developing a chat application and I want the user's JID with whom the current user had a chat with for the last time or whose message was received for the last time.
Can anyone help me to find out the solution of this issue?
As far as I have worked on XMPP there is no explicit mechanism to get that information. However you can implement in the following way:
I hope this helps. In case you find any XMPP based implementation do share it as an answer here.