Get chat room list by user

Hello,

Congrats for releasing new version of ejabberd 15.04.

In this version mod_muc_admin and mod_admin_extra are pre installed.

Now I am trying to get chatroom list by using user name. I mean I want to get all chat rooms occupant by any JID.

Is this possible?

Thanks in advance.
Manoj Singh

Hi, I am doing above

Hi,

I am doing above mentioned task with ejabberd_xmlrpc with command private_set.
Can you please advise any exact example?

Please advice.

There wasn't any command to

There wasn't any command to obtain that information.

So, I've added a new command to git in
https://github.com/processone/ejabberd/commit/7492ecae527b29f55193fe4119...

And works like this:

$ ejabberdctl get_user_rooms user1 localhost
rrr@conference.localhost
room2@conference.localhost
room3@conference.localhost

Hi, Many thanks for your kind

Hi,

Many thanks for your kind effort.
I have tried this and this is working perfectly.

Now I am trying to get chatroom list by using affiliate member/ owner /admin (not occupant). Get the list of rooms where user is affiliate member /owner /admin.
Is this possible with "get_user_rooms" command or I need to do this in other way.

Please suggest. Your suggestion will make my day.

have you sorted this one out?

have you sorted this one out? I'm looking for the same functionality

Syndicate content