Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad words #278

Merged
merged 1 commit into from
Jan 15, 2024
Merged

bad words #278

merged 1 commit into from
Jan 15, 2024

Conversation

notV4l
Copy link
Collaborator

@notV4l notV4l commented Jan 15, 2024

No description provided.

Copy link

vercel bot commented Jan 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
rollyourown ✅ Ready (Inspect) Visit Preview Jan 15, 2024 4:35pm

@notV4l notV4l merged commit 1c6b0db into cartridge-gg:main Jan 15, 2024
1 of 2 checks passed
@@ -143,14 +144,18 @@ mod lobby {
(game_id, caller)
}

fn set_name(self: @ContractState, game_id: u32, player_name: felt252) {
// assert_valid_name(player_name);
fn set_name(self: @ContractState, game_id: u32, player_id: ContractAddress, player_name: felt252) {
Copy link
Contributor

Choose a reason for hiding this comment

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

i think we should remove this. I don't think we want to administer this onchain. Let's filter at the client input and rendering level. We can hash the words to avoid putting them all in our code base (i assume there must be a lib that does this already)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

i added simple filter on display #280

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.

2 participants