Skip to content

The user id always remains 'user' #3

@SoftPlaceWeb-Dev

Description

@SoftPlaceWeb-Dev

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'
        },
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions