Skip to content

feat: no profanity#49

Open
edgurgel wants to merge 1 commit intomainfrom
feat/no-profanity
Open

feat: no profanity#49
edgurgel wants to merge 1 commit intomainfrom
feat/no-profanity

Conversation

@edgurgel
Copy link
Copy Markdown
Member

@edgurgel edgurgel commented May 1, 2026

No description provided.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 1, 2026

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: realtime-demo.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

e.preventDefault()
if (!newMessage.trim() || !isConnected) return

if (containsProfanity(newMessage)) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if we censor the message using TextCensor? An early return without feedback/alert might look like the chat is not working and sometimes the message is legit even tho a word or two is using bad language.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants