more fixes

This commit is contained in:
Baris Soner Usakli
2014-01-16 21:19:29 -05:00
parent 8740cc0fc7
commit 31d353ab0e
7 changed files with 72 additions and 106 deletions

View File

@@ -77,7 +77,7 @@ SocketTopics.markAllRead = function(socket, data, callback) {
return callback(err);
}
index.server.sockets.in('uid_' + socket.uid).emit('event:unread.updateCount', 0);
index.server.sockets.in('uid_' + socket.uid).emit('event:unread.updateCount', null, 0);
callback(null);
});