Search Posts

Failed to send the message by testing the tutorial in angularjs-chat

I get 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? My Angular version is 1.6.6.

// Send Messages
$scope.send = function() {
    Messages.send({
        data: $scope.textbox
    });
};

Source: AngularJS

1 comment on Failed to send the message by testing the tutorial in angularjs-chat

Leave a Reply

Your email address will not be published. Required fields are marked *