sanctuary-zero icon indicating copy to clipboard operation
sanctuary-zero copied to clipboard

Send messages specifically to a chatroom

Open gridhead opened this issue 3 years ago • 5 comments

The legacy method checks for messages at the client-side and outputs it only if it is subjected to the chatroom that the user has joined. This would lead to network usages even when there is no one sending anything in the chatroom.

gridhead avatar Aug 21 '20 13:08 gridhead

Hi, Can i work on this

adhyay2000 avatar Oct 16 '20 05:10 adhyay2000

Sure thing. I am assigning this to you.

Feel free to leave a star at the repository if you find it helpful.

gridhead avatar Oct 16 '20 05:10 gridhead

Hi, I am thinking of creating a chatroom specific uri that can be used to communicate, without changing the backbone code much. is it correct. for e.g. if the chatroom is 12345678 then the client first ask the server for chatroom and password and create a new connection to the new uri locahost:port/12345678. please provide suggestions.?

adhyay2000 avatar Oct 20 '20 17:10 adhyay2000

Hi, I have a doubt. Can we have same username across different chat rooms or the name should be unique entirely? like user "aditya" joining room 12345678 and 87654321 at same time.

adhyay2000 avatar Oct 21 '20 02:10 adhyay2000

Hi, currently the client is sending a message to server and then server is notifying everyone about it, in notify_mesg. I want to select only those websockets at the server side, which correspond to a particular chatroom(users present in the chatroom using those websocket).

adhyay2000 avatar Oct 21 '20 04:10 adhyay2000