Describe the bug
Sending * displays an empty message, a way to get around not being allowed to send empty messages.
What does this issue relate to? Please put an X in the [ ] (i.e. turn [ ] into [X]) for the relevant choice.
To Reproduce
Type * and send in any game as obs or player.
Additional context

EDIT: This also works for other styles. __ ** ~~
Sorry, it broke
Editing now
Fix for general chat should be L2362-3 on routes/socket/user-events.js
data.chat = data.chat.trim();
if (data.chat.length > 300 || !data.chat.length) return;
I'm working on this
Is this finished?
As far as I know, no. @Jodastt would know better though.
@Vigasaurus my apoligies, the school district blocked secret hitler and asked me to stop doing this with school computers (I don't have access to other computers and for development for another several months) and was unable to complete it.
Would this work? -> routes/socket/user-events.js
if (!game || !game.general || !data.chat || !data.chat.replace(/\s*(\*|~|_){2,4}\s*|\s*\*\s*/i, '').length) return;
(or even if (!game || !game.general || !data.chat || !data.chat.replace(/\s*(\*|~|_){2,4}\s*|\s*\*\s*/i, '')) return;)
I'd give it a solid maybe - feel free to PR and we'll get it tested/reviewed.
Most helpful comment
@Vigasaurus my apoligies, the school district blocked secret hitler and asked me to stop doing this with school computers (I don't have access to other computers and for development for another several months) and was unable to complete it.