简体   繁体   中英

Ejabberd: How to get list of muc_rooms / disco_items via API for which user is affiliated to?

I am working on setting up API for ejabebrd muc_rooms.

Now one user is affiliated with 10 teams.

Is there any API or and way from API to fetch the list of teams ( muc_rooms ) of the user?

I tried get_user_rooms but realized that the list comes after joining team only.

In mobile SDK disco_items available , but to do the same on web I need API solution for the same

There is no API command to obtain a list of rooms for which a user has some affiliation. The list of affiliations is not stored in the databases in a way easy to search for it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM