chat icon indicating copy to clipboard operation
chat copied to clipboard

no user output

Open silentziler opened this issue 6 years ago • 2 comments

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"

silentziler avatar Mar 30 '18 01:03 silentziler

When creating a new room, chat in that room works just fine. So it seems to be a problem with MainRoom.

Jaxan avatar Aug 02 '18 20:08 Jaxan

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

Jaxan avatar Aug 03 '18 18:08 Jaxan