Closed NonameVM closed 5 months ago
switch (msgArr[2]) {
case msgArr[2]:
this.clients.forEach(c => c.sendMsg(guacutils.encode("chat", "", msgArr[2])));
break;
}
I'm curious why you've used a single-case switch statement here?
I don't know how to write code competently yet, I'm just learning ts.
One problem : raw js scripts don't work
I forgot to add that "little detail" since I was only doing it for myself
That's most likely something to do with your webapp, I'm not sure exactly which webapp version you're using and it appears to be some custom one.
All seems good, works fine in testing
this web application before i18n was added.
thanks
Added the ability to send messages from the server name (without username), with XSS. Accepts 1 string argument : message text