The JEP explicitly says that disco#info will return its identity and SHOULD
return the features it supports. Therefore, I think that the only way to get
the number of occupants is to count them after sending the disco#items.

Regards,

  --- Gato

"Heiner Wolf" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
hi

Appended is a disco#info of [EMAIL PROTECTED] There is no
number of occupants. Does someone know hot to get it. Does the current
MUC implementation return "number of occupants"? under which
circumstance?

I could query disco#items and count them, but I'd like to avoid that if
I can get the number.

SENT: <iq type='get' to='[EMAIL PROTECTED]' id='disco1'>
        <query xmlns='http://jabber.org/protocol/disco#info'/>
      </iq>

RECV: <iq from='[EMAIL PROTECTED]' id='disco1' type='result'>
        <query xmlns='http://jabber.org/protocol/disco#info'>
          <identity category='conference' name='jdev' type='text'/>
          <feature var='http://jabber.org/protocol/muc'/>
          <feature var='http://jabber.org/protocol/disco'/>
          <feature var='jabber:iq:browse'/>
          <feature var='jabber:iq:version'/>
          <feature var='jabber:iq:last'/>
          <feature var='jabber:iq:time'/>
          <feature var='vcard-temp'/>
          <feature var='muc_unsecure'/>
          <feature var='muc_public'/>
          <feature var='muc_persistent'/>
          <feature var='muc_open'/>
          <feature var='muc_unmoderated'/>
          <feature var='muc_semianonymous'/>
        </query>
      </iq>

hw
--
Dr. Klaus H. Wolf
bluehands GmbH & Co.mmunication KG
http://www.bluehands.de/people/hw
+49 (0721) 16108 75
--
LLuna: Jabber enabled virtual presence on the web / http://www.lluna.de/
Galactic developments: Open source future history /
http://www.galactic-developments.com/


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf
> Of Gaston Dombiak
> Sent: Thursday, May 27, 2004 2:38 PM
> To: [EMAIL PROTECTED]
> Subject: [jdev] Re: Discovery of MUC room features
>
>
> Take a look at
> http://www.jabber.org/jeps/jep-0045.html#discovery examples 7
> & 8. I think that the room must be of type "Non-Anonymous
> Room" otherwise
> the list of occupants shouldn't be publicly available.
>
> Regards,
>
>   -- Gato
>
>
> "Heiner Wolf" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> Hi,
>
> does anyone know how to query MUC rooms with disco. I need
> the number of
> participants. Peter said there is a disco for it. Any specs available?
>
> (wrong subject in last post)
> hw
> --
> Dr. Klaus (Dreamer) Wolf
> bluehands GmbH & Co.mmunication KG
> http://www.bluehands.de/people/hw
> +49 (0721) 16108 75
> --
> LLuna: Jabber enabled virtual presence on the web /
> http://www.lluna.de/
> Galactic developments: Open source future history /
> http://www.galactic-developments.com/
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf
> > Of Heiner Wolf
> > Sent: Thursday, May 27, 2004 11:30 AM
> > To: Jabber software development list
> > Subject: RE: [jdev] New User Registration
> >
> >
> > HI,
> >
> > does anyone know how to query MUC rooms with disco. I need
> > the number of
> > participants. Peter said there is a disco for it. Any specs
> available?
> >
> > --
> > Dr. Klaus (Dreamer) Wolf
> > bluehands GmbH & Co.mmunication KG
> > http://www.bluehands.de/people/hw
> > +49 (0721) 16108 75
> > --
> > LLuna: Jabber enabled virtual presence on the web /
> > http://www.lluna.de/
> > Galactic developments: Open source future history /
> > http://www.galactic-developments.com/
> > _______________________________________________
> > jdev mailing list
> > [EMAIL PROTECTED]
> > https://jabberstudio.org/mailman/listinfo/jdev
> >
>
>
>
> _______________________________________________
> jdev mailing list
> [EMAIL PROTECTED]
> https://jabberstudio.org/mailman/listinfo/jdev
>



_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
https://jabberstudio.org/mailman/listinfo/jdev

Reply via email to