[jdev] Re: Re: Discovery of MUC room features

Gaston Dombiak dombiak_gaston at hotmail.com
Sun May 30 11:30:05 CDT 2004


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" <wolf at bluehands.de> wrote in message
news:11D121AB355B69448D3A9F2132D2A3AA194AEF at niobe.BlueHands.de...
hi

Appended is a disco#info of jdev at conference.jabber.org. 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='jdev at conference.jabber.org' id='disco1'>
        <query xmlns='http://jabber.org/protocol/disco#info'/>
      </iq>

RECV: <iq from='jdev at conference.jabber.org' 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: jdev-bounces at jabber.org
> [mailto:jdev-bounces at jabber.org]On Behalf
> Of Gaston Dombiak
> Sent: Thursday, May 27, 2004 2:38 PM
> To: jdev at jabber.org
> 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" <wolf at bluehands.de> wrote in message
> news:11D121AB355B69448D3A9F2132D2A3AA194AE8 at niobe.BlueHands.de...
> 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: jdev-bounces at jabber.org
> > [mailto:jdev-bounces at jabber.org]On 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
> > jdev at jabber.org
> > https://jabberstudio.org/mailman/listinfo/jdev
> >
>
>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> https://jabberstudio.org/mailman/listinfo/jdev
>






More information about the JDev mailing list