Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The user id always remains 'user' #3

Open
SoftPlaceWeb-Dev opened this issue Mar 24, 2024 · 1 comment
Open

The user id always remains 'user' #3

SoftPlaceWeb-Dev opened this issue Mar 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@SoftPlaceWeb-Dev
Copy link

SoftPlaceWeb-Dev commented Mar 24, 2024

with this setting:

catChat.settings = {
        user: 'user_123',
    }

the websocket connection it is always open with the user id 'user'.

instead passing the user directly into the path works:

catChat.settings = {
        user: 'user_123',
        ws: {
            onFailed: (error) => {
                console.log(error.description)
            },
            'path': 'ws/user_123'
        },
    }

@SoftPlaceWeb-Dev SoftPlaceWeb-Dev added the bug Something isn't working label Mar 24, 2024
@MattNot
Copy link

MattNot commented Sep 17, 2024

Can confirm, i'm using the cdn version so it would be helpful if a fix can be deployed there too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants