-
Notifications
You must be signed in to change notification settings - Fork 62
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
Failed to send the message by testing the tutorial #11
Comments
Having the Same Issue |
Change .publish to .message in the angular-chat.js module. That is the function which publish messages to server in the socketio.js module |
To be more specific, open the In that file, go to line number 87, where it says With this, I was able to get it to get rid of this error "TypeError: self.rooms[setup.to].publish is not a function" |
fix according stephenlb#11 (comment)
Hello, I have this error "TypeError: self.rooms[setup.to].publish is not a function" when sending the message I already have the keys in pubnub, what should I do to make it work?
angular version 1.6.6
The text was updated successfully, but these errors were encountered: