[JDEV] conference room creation

David Sutton jabber at dsutton.legend.uk.com
Tue Nov 26 06:46:43 CST 2002


Hi there,

  Just as a thought, how about 'get'ing the form before trying to 'set'
  it? :)

Regards,
  David

On Tue, Nov 26, 2002 at 01:59:22AM -0000, Rob Davis wrote:
> 
> I seem to have solved this for the moment, by sending presence to the
> new room (using the old group chat protocol) before issuing the
> configuration request. However this does not seem to be behaviour as
> documented in JEP-45 so I don't think this its quite right...
> 
> My problem now is that once I receive the configuration form and reply
> by sending back the form (with only several fields completed - the ones
> I want to change), MUC then responds by sending the entire config form
> again, BUT the values in my submitted fields have not been changed.
> 
> i.e. the room configuration request is not being carried out for some
> reason.
> 
> Any thoughts?
> 
> Rob
> 
> ----- Original Message -----
> From: "Rob Davis" <lists at solarismedia.co.uk>
> To: <jdev at jabber.org>
> Sent: Monday, November 25, 2002 5:32 PM
> Subject: Re: [JDEV] conference room creation
> 
> 
> >
> > Following David's suggestion (from earlier this month) about creating
> > rooms (without entering them) in MUC, I am sending the
> > following room configuration request to MUC, as per JEP-45:
> >
> > <iq type="set" from="test at jabber.mydomain.com/home"
> > to="newroom at conference.localhost" id="create1"><query
> > xmlns="http://jabber.org/protocol/muc#owner" /></iq>
> >
> > However, rather than getting a configuration form as expected (or a
> > documented error), I am getting the following error:
> >
> > <iq type="error" from="newroom at conference.localhost"
> > to="test at jabber.mydomain.com/home" id="create1"><query
> > xmlns="http://jabber.org/protocol/muc#owner" /><error code="400">Bad
> > Request</error></iq>
> >
> > Does anyone know what is going wrong here?
> >
> > Rob
> >
> >
> > > ----- Original Message -----
> > > From: "David Sutton" <jabber at dsutton.legend.uk.com>
> > > To: <jdev at jabber.org>
> > > Sent: Tuesday, November 05, 2002 6:54 AM
> > > Subject: Re: [JDEV] conference room creation
> > >
> > > Hi there,
> > >
> > >   With the existing conference (0.4 or v2) you can't avoid entering
> > the
> > >   room.
> > >
> > >   With MU-Conference, you can. Its a new conference system I
> released
> > >   today, based on JEP-0045
> (http://www.jabber.org/jeps/jep-0045.html)
> > >   If you send a room configuration request to a room that doesn't
> > exist,
> > >   the room is created and the configuration form is returned to you.
> > The
> > >   problem is that normal rooms get deleted after ~5 minutes of being
> > >   empty, so you'll want to enable the 'persistent' option. This will
> > >   mean the room exists, even if the server is restarted. The room
> > >   creator can then just destroy the room when they've finished with
> > it.
> > >
> > > Regards,
> > >
> > >   David
> > >
> > > On Sun, Nov 03, 2002 at 12:11:40PM -0000, Rob Davis wrote:
> > > >
> > > > Hi there,
> > > >
> > > > I have a question about managing rooms with Jabber.
> > > >
> > > > I am developing a Jabber client. When I want to create and enter a
> > > > conference room on the Jabber conference server, I simply send
> > > presence
> > > > to the new room's address and it is created.
> > > >
> > > > Is there a way for the client to create a conference room without
> > > > actually having to enter that room?
> > > >
> > > > Rob
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > jdev mailing list
> > > > jdev at jabber.org
> > > > http://mailman.jabber.org/listinfo/jdev
> > >
> > > --
> > > David Sutton
> > > Email: dsutton at legend.co.uk
> > > Jabber: peregrine at legend.net.uk
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > jdev mailing list
> > > jdev at jabber.org
> > > http://mailman.jabber.org/listinfo/jdev
> > >
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev



More information about the JDev mailing list