topic notification nid doesn't need post id

This commit is contained in:
barisusakli
2014-10-19 18:41:54 -04:00
parent 6dd035a5af
commit f15631c3e1

View File

@@ -250,7 +250,7 @@ var async = require('async'),
bodyShort: '[[notifications:user_posted_topic, ' + postData.user.username + ', ' + title + ']]',
bodyLong: postData.content,
pid: postData.pid,
nid: 'tid:' + postData.tid + ':pid:' + postData.pid + ':uid:' + uid,
nid: 'tid:' + postData.tid + ':uid:' + uid,
tid: postData.tid,
from: uid
}, function(err, notification) {