From f15631c3e11a024047ab1905f4854bd5de2b0e5d Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sun, 19 Oct 2014 18:41:54 -0400 Subject: [PATCH] topic notification nid doesn't need post id --- src/user/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user/notifications.js b/src/user/notifications.js index df7e6c8e2a..afffcb58e9 100644 --- a/src/user/notifications.js +++ b/src/user/notifications.js @@ -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) {