Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

GetPresence #59

Open
mathis94 opened this issue Jun 15, 2015 · 1 comment
Open

GetPresence #59

mathis94 opened this issue Jun 15, 2015 · 1 comment

Comments

@mathis94
Copy link

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

@Mo33n
Copy link

Mo33n commented Sep 8, 2015

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants