I ve this problem with pusher . it is working fine on public channel but on on private channel does seem to be working.
Pusher : No callbacks on private-notification.1 for pusher:subscription_error
above is the error am getting
Pusher.logToConsole = true;
var pusher = new Pusher('xxxxxxxxxxxxxxxxxxxxx', {
authEndpoint: '',
encrypted: true,
cluster : "mt1",
auth: {
headers: {
'X-CSRF-Token': ""
}
}
});
var channel = pusher.subscribe("private-notification.");
channel.bind('my-event', addMessage);
function addMessage(data)
{
$.growl.notification({
message: '<strong> ' + data.title + '</strong><br>' + data.message
})
}
i don't know where the problem is. Any help will be highly appreciated.
Broadcast::channel('notification.*', function ($user) {
return false;
});
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2u7p4Jp
via IFTTT
Aucun commentaire:
Enregistrer un commentaire