This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (5 pts)
1 Replies Last post: Jul 14, 2008 7:05 AM by Robert Butera  
Munkii Bronze 1 posts since
Jun 24, 2008
Currently Being Moderated

Jun 26, 2008 5:28 PM

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!

Robert Butera Bronze 17 posts since
Mar 1, 2008
Currently Being Moderated
Jul 14, 2008 7:05 AM in response to: Munkii
Re: How can a client create a new chat room?

 

I've done it as follows:

 

 

var room:Room = new Room(_connection);

room.roomJID = new UnescapedJID(ROOM_JID);

room.roomName = "myroom";

room.enableAutoUpdate();

room.join();

 

 

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

 

 

More Like This

  • Retrieving data ...