change the server so only two people can chat and others can only view it
Opened this issue · 0 comments
Ahmed-Elghobashy commented
in the front-end :
- check if the user is authenticated to chat and if he is display the chat room as it is .if not remove the chat input from the DOM.
- only emit the message if the user is authenticated to chat.