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

Messages for a specific user? #13

Open
William94wps opened this issue Jul 24, 2020 · 2 comments
Open

Messages for a specific user? #13

William94wps opened this issue Jul 24, 2020 · 2 comments

Comments

@William94wps
Copy link

What would the code look like to send messages to a specific user?

@UtsavEshan
Copy link

UtsavEshan commented Aug 11, 2020

You know how we did

socket.to(room Id).broadcast.emit('something', 'lorem ipsum')
instead of passing in the room id you pass in the user id, is what I think. I haven't tested it out

@William94wps
Copy link
Author

If you can, send the code here to me. Please!

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

No branches or pull requests

2 participants