@ -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]);
@ -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);
}