dont closed composer if callback isn't called

This commit is contained in:
Baris Soner Usakli
2014-01-11 16:15:50 -05:00
parent f73c81d6c3
commit 8bc0096b00
5 changed files with 17 additions and 19 deletions

View File

@@ -120,6 +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;