From 67f9c8670aed24f05a6e96db183336fbc225186c Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 7 Apr 2014 18:54:55 -0400 Subject: [PATCH] closes #1355 --- src/user/jobs.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/user/jobs.js b/src/user/jobs.js index c35a3d23a4..602b889039 100644 --- a/src/user/jobs.js +++ b/src/user/jobs.js @@ -36,6 +36,13 @@ module.exports = function(User) { async.each(data.uids, function(uid, next) { UserNotifications.getDailyUnread(uid, function(err, notifications) { if (!err && notifications && notifications.length) { + + for(var i=0; i