Skip to content

fix Dropped Messages on Nickname Conflicts #122

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

approxit1
Copy link

This PR fixes a bug where messages were getting dropped if two people had the same nickname. The code was checking the sender by nickname, so it would pick up the other person's message and consider that to be a duplicate of your own and ignore it. I have changed it to use the peer ID rather than the nickname to check who is the sender. Now it is working fine and messages are no longer lost.

@edeuss
Copy link

edeuss commented Jul 10, 2025

Nice catch 👍

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