Ahmed-Elghobashy/Debate-site

change the server so only two people can chat and others can only view it

Opened this issue · 0 comments

in the front-end :

  1. 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.
  2. only emit the message if the user is authenticated to chat.