xmpppy / xmpppy

Python 2/3 implementation of XMPP
http://xmpppy.sourceforge.net/
GNU General Public License v3.0
101 stars 65 forks source link

Execute ejabberdctl commands #26

Closed gathole closed 2 years ago

gathole commented 7 years ago

Is there any way to execute ejabberdctl commands and get the results using XMPPPY library?

Example: If I want to get current offline messages for a user, I can run ejabberdctl get_offline_count user server command on server. How can I get the same using XMPPPY library?

amotl commented 2 years ago

Dear Satish,

this is a very late answer to your question, apologies. I believe this kind of feature is out of scope for this library and will never by implemented. So, I am closing this issue.

With kind regards, Andreas.

normanr commented 2 years ago

It doesn't look like get_offline_count is available via xmpp. It's a mod_http_api command, and mod_http_api only seems to be available via an http api. Some of the mod_http_api commands are also available via mod_announce and mod_configure (like change_password as change-user-password), but there's not a lot of overlap.