I've been facing issues setting up a group chat using QB Javascript SDK.
There are a few problems I am encountering: Firstly, I consistently receive a "room is locked" message. Here's the link to the screenshot: https://i.sstatic.net/auR21.png. This is confusing as on the server side, the room is configured as a public group and not a private chat.
Secondly, it appears that only one user can log in at a time. - When I log in with the user "John," I get the "room is locked" message but can still use it fine. - However, when I try to log in with another user "Doe" on a different browser or device, there are no events triggered. - If I logout both users and then log in with "Doe," it works smoothly.
My assumption is that only one user is supported in the starter version simultaneously. Can someone provide clarification on this?
The code I'm using is adapted from . The modifications are mainly related to appid and custom events while keeping the core structure intact.
You can access my implementation here:
When I login as John, I encounter the following scenario:
https://i.sstatic.net/PPDPN.png
If I then attempt to login as Doe immediately after, I only see a message stating "doe has logged in" without any functionality.
However, if I logout both users and only login as doe, everything works correctly - trying to log in as john at that point fails.
Would appreciate any guidance on resolving this issue.