[JDEV] MUC and creating rooms
jabber at dsutton.legend.uk.com
Fri Jan 3 12:23:04 CST 2003
You simply need to send back the form with only the config field - the
parser will simply use default values for the rest of the fields. As
soon as I rework the form parser, you will be able to simply send back
an empty form.
For reference, since you may wonder about this, if a groupchat client
connects, the service automatically uses the defaults. The user still
has the ability to modify, but would have to do it via raw xml, or
reconnect with a compliant client.
On Fri, Jan 03, 2003 at 10:03:46AM -0500, Vincent Dibartolo wrote:
> Thanks for the quick response. Is there any way to
> automatically create the room in a one-step process such that it will
> assume the default settings? On a side note, a confusing aspect of
> the exchange is that some of the actual XML that I receive back when
> creating a room has the phrase "To accept the default configuration,
> click OK", which isn't exactly applicable to bots and other automated
> scripts. Thanks.
> -----Original Message-----
> From: David Sutton [mailto:jabber at dsutton.legend.uk.com]
> Sent: Friday, January 03, 2003 12:34 AM
> To: jdev at jabber.org
> Subject: Re: [JDEV] MUC and creating rooms
> Hi there,
> Ok, its only one field that its really looking for, and its the
> field. This was originally used when the service could receive a
> number of different x:data forms, and I needed a simple way to
> differiciate between them. I'm currently working on removing the
> dependancy in the CVS version, so that an empty form will suffice.
Email: dsutton at legend.co.uk
Jabber: peregrine at legend.net.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 232 bytes
Desc: not available
More information about the JDev