candy-chat / candy

JavaScript-based multi-user chat client for XMPP.
http://candy-chat.github.io/candy
MIT License
1.32k stars 370 forks source link

Grey Screen #477

Closed rblin081 closed 8 years ago

rblin081 commented 8 years ago

Successfully connect to ejabberd server with user information.

Have these configs

Candy.init('http://chat.webcasts.com:5280/http-bind', {
                core: {
                    // only set this to true if developing / debugging errors
                    debug: true,
                    // autojoin is a *required* parameter if you don't have a plugin (e.g. roomPanel) for it
                    //   true
                    //     -> fetch info from server (NOTE: does only work with openfire server)
                    //   ['test@conference.example.com']
                    //     -> array of rooms to join after connecting
                    autojoin: true
                //  autojoin: ['test_room@chat.webcasts.com']
                },
                view: { assets: '/admin/candy-2.2.0/res' }
            });

            Candy.Core.connect();

Confirmed that test_room exists but the user doesn't seem to join the room

mweibel commented 8 years ago

you specified autojoin: true but this only works with openfire (as you can see from the comment). You want to comment that and uncomment the next line with the array of rooms.