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?
相关问题
- Get Offline Messages From XMPP Without Becoming On
- ejabberd and Erlang installation with lager_transf
- How to implement “last seen at” functionality (lik
- smack api get all public rooms on openfire server
- ejabberd MUC message history
相关文章
- Xmpp chat invisible presence
- Jabber.net on Unity/Android error (No JNI_OnLoad f
- Sending inline images using Smack XMPP
-
How to join multiple rooms by just sending one
- How to get offline message of group chat from Open
- Intercept login/logout ejabberd
- XMPP events on Android
- How to create an account from Smack 4.1
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#items
on 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 ;)