This commit is contained in:
barisusakli
2014-03-09 14:02:30 -04:00
parent ec86aafb48
commit 6496b91c29
4 changed files with 9 additions and 11 deletions

View File

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