mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 15:20:39 +01:00
closes #3912
This commit is contained in:
@@ -84,7 +84,9 @@ module.exports = function(SocketPosts) {
|
||||
bodyLong: post.content,
|
||||
pid: data.pid,
|
||||
nid: 'post_flag:' + data.pid + ':uid:' + socket.uid,
|
||||
from: socket.uid
|
||||
from: socket.uid,
|
||||
mergeId: 'notifications:user_flagged_post_in|' + data.pid,
|
||||
topicTitle: post.topic.title
|
||||
}, function(err, notification) {
|
||||
if (err || !notification) {
|
||||
return next(err);
|
||||
|
||||
Reference in New Issue
Block a user