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

#encryptedPrivate does not work with NullConnector #367

Closed
luniki opened this issue Jan 17, 2023 · 1 comment · Fixed by #369
Closed

#encryptedPrivate does not work with NullConnector #367

luniki opened this issue Jan 17, 2023 · 1 comment · Fixed by #369

Comments

@luniki
Copy link
Contributor

luniki commented Jan 17, 2023

  • Echo Version: 1.14.2
  • Laravel Version: na
  • PHP Version: na
  • NPM Version: na
  • Node Version: na

Description:

Calling echo.encryptedPrivate(…) while using a NullConnector results in an error:

Uncaught TypeError: this.connector.encryptedPrivateChannel is not a function

This is caused by line https://github.com/laravel/echo/blob/master/src/echo.ts#L107 as a NullConnector does not have an encryptedPrivateChannel function.

Steps To Reproduce:

@driesvints
Copy link
Member

Thanks, you sent in a PR so let's see how it goes.

taylorotwell pushed a commit that referenced this issue Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants