How can a client create a new chat room?

Hi everyone

I have been working with the XIFF library in Flex, and I have been able to join, and accept invitations to public chat rooms which I have created through the server admin interface. The next step for me is to figure out what what my Flex application needs to do to open a new public chat room on the server. So far I have not been able to figure this out at all.

Can someone please explain to me how to create a new chat room from my client application?

I assume that this is done by calling either ‘join’ or ‘configure’ (or maybe both) on a new Room object, but I haven’t been able to figure out the combination yet.

Thanks in advance!

I’ve done it as follows:

var room:Room = new Room(_connection);

room.roomJID = new UnescapedJID(ROOM_JID);

room.roomName = “myroom”;



where ROOM_JID = <room name>@<group chat service name>.<server domain>