Creating Chat Rooms via Ejabberd Configuration

I am new to the CHAT Development. I am using ConverseJS as the Client and EJAbberd as my XMPP Server. I want to be able to create a LIST of "Default Chat Rooms" which when user logged in can see them listed under ROOMS Tab" as in the Screenshot : http://screencast.com/t/PkK7k9jrJu.

Current implementation requires the following :

1. How can I create "CHAT ROOMS" via Ejabberd.config file ?
2. How can I STOP users from creating their own Chat Rooms ? Is that possible ?

Can you kindly let me know how I can achieve this ? Any pointers could be great help. Thanks !

Creating Chat Rooms via

Question 1: That is not supported. But maybe this trick works in some clients:
1. In ejabberd webadmin create a shared roster group called "rooms", with members: the JIDs of rooms you want to show
2. Then create another shared roster group called whatever, with members: @all@, and Displayed: members
3. When any user logins, a roster group called "rooms" will be displayed, with the JIDs of rooms.

Question 2: It's possible to configure this in ejabberd. Read the Guide, for the mod_muc oopon access_create.

Syndicate content