How we can know the chat session of Xmpp user closed?

Hi All,

I am trying to maintain a chat context for two clients, in those one supports chat mode informal ,
other does not, so i would like to maintain chat context in my server and get response on same thread id from other client .To make informal chat explicitly. Now is there any way to find the other client has closed chat session,
or when he/she goes off-line. I dont want to made presence and message modules tightly coupled.

how can i know the other user is offline in message module? any info query or some query ? I tried last query not succeeded.

Regards,
GVK

XEP-0085: Chat State

To check the user chat status...

Yes,
I have tried with XEP-0022 which was deprecated, and testing with XEP-0085 which should supported by server.
I am thinking in core RFC point of view. with out extensions, extensions should be supported by server to get response.

Thank you.

Best Regards,
GVK

Syndicate content