MadhavKrishanGoswami / InkCode-Fusion

The Platform for Conducting Seamless Online Coding Interviews!🚀
7 stars 14 forks source link

Chat component not syncing messages across users in the same room #14

Closed Saachi26 closed 5 days ago

Saachi26 commented 5 days ago

The chat component on the room page is not working as expected. Messages sent by one user in the room are not appearing in real-time on other users' chat screens, even though they are in the same room.

Steps to Reproduce

Expected Behavior Messages sent by one user should appear in real-time on all other users' chat screens who are present in the same room.

Actual Behavior Messages sent by one user are not appearing on the chat screens of other users in the room. Only the sender can see their own message.

Possible Cause It seems like the messages are not being broadcasted to all users in the room. This could be a potential issue with how the WebSocket room subscriptions or broadcasts are handled.