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
Open the chat room with two or more users.
Send a message from one user.
Check the other users’ chat screens for the message.
Notice that the message does not appear on other users’ screens.
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.
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.