fixed reference to undefined variable

/cc @BenLubar
This commit is contained in:
Julian Lam
2016-05-08 20:05:16 -04:00
parent a1d2fbefe7
commit 1f70f886b5

View File

@@ -90,7 +90,7 @@ module.exports = function(SocketPosts) {
bodyShort: '[[notifications:user_flagged_post_in, ' + flaggingUser.username + ', ' + titleEscaped + ']]',
bodyLong: post.content,
pid: data.pid,
path: '/post/' + pid,
path: '/post/' + data.pid,
nid: 'post_flag:' + data.pid + ':uid:' + socket.uid,
from: socket.uid,
mergeId: 'notifications:user_flagged_post_in|' + data.pid,