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

fix double join bugs #107

Merged
merged 1 commit into from
Sep 7, 2021
Merged

fix double join bugs #107

merged 1 commit into from
Sep 7, 2021

Conversation

ace-1331
Copy link
Contributor

@ace-1331 ace-1331 commented Sep 7, 2021

  • made it so the server only triggers a chatroom leave if you are not currently in the room you are trying to join

This prevents spam from various things that can cause you to try to join the same room (scripts, console, leash), the most common being that if you are lagging or clicking fast, you might click on a room several time and get re-added to a room many times back to back which spams chat with join/leave messages

@Ben987
Copy link
Owner

Ben987 commented Sep 7, 2021

I'm not sure I've seen that one happen, but it cannot hurt to validate that the user is already in the room. Thanks!

@Ben987 Ben987 merged commit a14f112 into Ben987:master Sep 7, 2021
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.

None yet

2 participants