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

Title: Improve handleMessage in socketController.js #1

Open
sagnik3788 opened this issue Oct 4, 2023 · 2 comments
Open

Title: Improve handleMessage in socketController.js #1

sagnik3788 opened this issue Oct 4, 2023 · 2 comments
Assignees
Labels

Comments

@sagnik3788
Copy link

Describe your issue.

We can improve the handleMessage code by implementing the following enhancements:
Checks if the message data is correct before doing anything with it
Efficiently broadcasts the message to all chat participants except the sender.
Includes error handling to handle exceptions gracefully.
Add comments.
@varunKT001 I'd like to work on this issue. Can it be assigned to me?

Screenshots (if applicable).

No response

Additional context (if any)

No response

@github-actions
Copy link

github-actions bot commented Oct 4, 2023

Hey @sagnik3788 👋, thank you for raising an issue. Please make sure that it is detailed, and also following the provided template.

@varunKT001
Copy link
Owner

@sagnik3788 Sure, go ahead 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants