mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
topic notification nid doesn't need post id
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user