Open mathis94 opened 9 years ago
xmpp.on('buddy', function(jid, state, statusText,resource) { console.log('%s is in %s state - %s -%s', jid, state, statusText,resource); });
statusText is the custom text message of the buddy , the better solution for your query is to keep your custom data structure on the server ,and keep updating/filtering it as per your need.
Is there any way using your code to search all people who has a specific presence. For example the list of people who has the status "eating" Thank you