mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-09-02 02:16:19 +02:00
notification fixes
made post notifications unique per post so they dont overwrite other types.
This commit is contained in:
@@ -284,7 +284,7 @@ var async = require('async'),
|
||||
bodyShort: '[[notifications:user_posted_to, ' + results.username + ', ' + results.topic.title + ']]',
|
||||
bodyLong: results.postContent,
|
||||
pid: pid,
|
||||
nid: 'topic:' + tid + ':uid:' + uid,
|
||||
nid: 'tid:' + tid + ':pid:' + pid + ':uid:' + uid,
|
||||
tid: tid,
|
||||
from: uid
|
||||
}, function(err, notification) {
|
||||
|
||||
Reference in New Issue
Block a user