This commit is contained in:
Julian Lam
2013-12-11 16:10:08 -05:00
parent 69c1ec97c9
commit 64e87b761f
3 changed files with 17 additions and 1 deletions

View File

@@ -867,7 +867,6 @@ var bcrypt = require('bcrypt'),
User.pushNotifCount = function(uid) {
User.notifications.getUnreadCount(uid, function(err, count) {
console.log('unread count is', count);
if (!err) {
websockets.in('uid_' + uid).emit('event:notifications.updateCount', count);
} else {