nponeccop / n2o.hs

N2O in Haskell
http://5ht.co/n2o.htm
ISC License
29 stars 2 forks source link

Messages from the server don't contain client names #16

Closed nponeccop closed 8 years ago

nponeccop commented 8 years ago

MSG handler should take the user name from entry the same way as N2O_DISCONNECT handler and send <b>user</b>: msg HTML message to the client

n2o.hs#L43-L52

swamp-agr commented 8 years ago

<b>user</b> htmlencoding fun detected.

5HT commented 8 years ago

howo about jse hte naming or js_encode html_encode preserving compatibilty with n2o ?