mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
fixed #1089
This commit is contained in:
@@ -1136,8 +1136,9 @@ var bcrypt = require('bcryptjs'),
|
|||||||
async.filter(nids, function(nid, next) {
|
async.filter(nids, function(nid, next) {
|
||||||
notifications.get(nid, uid, function(notifObj) {
|
notifications.get(nid, uid, function(notifObj) {
|
||||||
if(!notifObj) {
|
if(!notifObj) {
|
||||||
next(false);
|
return next(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (notifObj.uniqueId === uniqueId) {
|
if (notifObj.uniqueId === uniqueId) {
|
||||||
next(true);
|
next(true);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user