topic notification nid doesn't need post id

v1.18.x
barisusakli 10 years ago
parent 6dd035a5af
commit f15631c3e1

@ -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) {

Loading…
Cancel
Save