chat
chat copied to clipboard
no user output
Not sure if this is a global issue or just me.
I have redis and chatserver.js running.
On the webpage I can type text in the input box, however it is not showing up in the chat. The serverBot welcomes me. However, does not state I joined the room.
Update: With debug enabled in main.js I am able to send messages to the "sampleroom". Also it says anonymous -- joined the room--
Still no output in "MainRoom"
When creating a new room, chat in that room works just fine. So it seems to be a problem with MainRoom.
These two lines are missing _MainRoom
(see the template). That fixes the issue. Of course the better solution is to remove this html, and generate everything via the one and only template.
https://github.com/tegioz/chat/blob/master/static/index.html#L82 https://github.com/tegioz/chat/blob/master/static/index.html#L95