[jdev] Getting the number of occupants in MUCs

Norman Rasmussen norman at rasmussen.co.za
Thu Feb 14 05:03:18 CST 2008

extended disco info has muc#roominfo_occupants (Number of occupants)

On Thu, Feb 14, 2008 at 12:53 PM, Juha Mynttinen <
Juha.Mynttinen at digitalchocolate.com> wrote:

> What would be the preferred way of getting the list of MUCs in a server
> and the number of occupants in each MUC (using XMPP client)? I guess
> XEP-0045 doesn't directly support this functionality? I only found in
> the specification that you can get a list of all MUCs using XEP-0045 and
> then for each MUC you can query its information. Even this information
> doesn't contain the number of occupants and I should use the presence
> information of the room occupants to calculate the number of them. This
> approach sounds far too heavy, however. Any ideas for a light-weight
> implementation of occupants counting?
> r,
> J

- Norman Rasmussen
- Email: norman at rasmussen.co.za
- Home page: http://norman.rasmussen.co.za/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20080214/0c2dbf84/attachment-0002.htm>

More information about the JDev mailing list