candy-chat/candy — Issue #74: Creating chatroom on the fly
Author: kaihuchen
Created: 2012-01-19 01:05:26+00:00
State: open

I would like to allow my chat client (which is using the latest Candy) to create a chatroom on-the-fly and fully automated without user intervention. My chat client will add room name and user name automatically before calling the Chat server, and auto-joining the target chat room. The room and user id may or may not exist on the chat server (I am using Openfire 3.7.1.).

I got everything to work fine, except that I am getting the following message in the chat client if the room does not pre-exist on the chat server:

This room is locked from entry until configuration is confirmed.

Under this condition other chat clients then are unable to join this new chatroom. I did some research on this and it seems that my chat client needs to send a message to the chat server to configure the room, and but I don't know enough about the detail mechanism to add this logic myself. If anybody could help providing information for this it would be much appreciated.

By the way, excellent work on the Candy which has saved me tons of work!