This commit is contained in:
Baris Soner Usakli
2014-01-11 17:48:24 -05:00
parent 8bc0096b00
commit 30ad852492
2 changed files with 4 additions and 2 deletions

View File

@@ -120,7 +120,7 @@ Sockets.init = function() {
});
socket.on('*', function(payload, callback) {
console.log(this.event);
// Ignore all non-api messages
if (payload.name.substr(0, 4) !== 'api:') {
return;