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

Presence#enterClient errors if not supplied with a data param #47

Closed
SimonWoolf opened this issue May 7, 2015 · 1 comment · Fixed by #50
Closed

Presence#enterClient errors if not supplied with a data param #47

SimonWoolf opened this issue May 7, 2015 · 1 comment · Fixed by #50
Assignees

Comments

@SimonWoolf
Copy link
Member

channel.presence.enterClient('bob', 'foobar'); works fine, but channel.presence.enterClient('bob'); fails with "Ably: ConnectionManager.sendQueuedMessages(): Unexpected exception in transport.send(): TypeError: ob is undefined"

(Docs say data parameter is optional, but might just be that the docs are out of date. Ruby client works without it.)

@paddybyers
Copy link
Member

It's supposed to work without any data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment