How do I get a list of all users online in XMPP assuming that I’m an admin and XEP-133 does not work and I’m not in their roster?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Most commands in XEP-133 do work fine with ejabberd.
You are indeed right about some particular commands not working including getting the online-users: I discovered though there are non-standard alternatives specific to ejabberd:
If you run a
disco#itemson the host you get some interesting items you can query:Now in you case you need the “Online Users” so:
will work like a charm 😉