You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project have a user , that user can in two channel , but i wanna this user can receive notifications for two channel different.
I can ask a question? How to Client can join multiple room and receive 2 notifications the same time for different two rooms.
i just found this code run on server :
On server.js
io.sockets.to('channel01').to('channel02').emit('pushInfo','Nguyen Son Tung');
So why not features :
socket.join('channel01').join('channel02');
Many thanks!
The text was updated successfully, but these errors were encountered:
Hi everyone!
In my project have a user , that user can in two channel , but i wanna this user can receive notifications for two channel different.
I can ask a question?
How to Client can join multiple room and receive 2 notifications the same time for different two rooms.
i just found this code run on server :
On server.js
So why not features :
Many thanks!
The text was updated successfully, but these errors were encountered: