I am using CAXL in my web application to detect awareness of self and other people. Real time chat happens using windows desktop client once user click desktop client application link (xmpp:mail@xxxx.com) in web application.
If user is not online from desktop client application then message need to be thrown for user , requesting him to get online.
consider jid of user who is logged in from CAXL library and its presence need to be detected with reference to desktop client.
var contact = jabber_client.entitySet.entity(jid);
var presence = contact.getPrimaryPresence();
var awareState = presence.getType() || presence.getShow() ;
|
In above it does not detect available and log out from desktop client, however it does detect busy , in meeting or other type of presence.
Is there possibility to detect available and log out from desktop client using CAXL library for same user ?