From d3ba03ceaec5a0ab543b946eea98f7e70ed451bc Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 21 Feb 2014 11:16:44 -0500 Subject: [PATCH] fixed #1089 --- src/user.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/user.js b/src/user.js index 1a048c9d73..39f0befef9 100644 --- a/src/user.js +++ b/src/user.js @@ -1136,8 +1136,9 @@ var bcrypt = require('bcryptjs'), async.filter(nids, function(nid, next) { notifications.get(nid, uid, function(notifObj) { if(!notifObj) { - next(false); + return next(false); } + if (notifObj.uniqueId === uniqueId) { next(true); } else {