one more fix

This commit is contained in:
barisusakli
2014-07-28 16:11:26 -04:00
parent 08ba683c7d
commit dfb6606432
2 changed files with 2 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ module.exports = function(app, middleware, controllers) {
bodyLong: 'asdasd khajsdhakhdakj hdkash dakhdakjdhakjs',
path: nconf.get('relative_path') + '/topic/' + topicSlug + '/' + postIndex,
uniqueId: 'topic:' + tid,
tid: tid,
from: fromUid
}, function(err, nid) {
notifications.push(nid, [1]);

View File

@@ -212,7 +212,7 @@ var async = require('async'),
});
async.filter(nids, function(nid, next) {
notifications.get(nid, uid, function(err, notifObj) {
notifications.get(nid, function(err, notifObj) {
if (err || !notifObj) {
return next(false);
}