Skip to content

Node.js based forum software built for the modern web

add tid to post notification so its marked read on entry

barisusakli3163f70ef22f
diff --git a/src/user/notifications.js b/src/user/notifications.js
index f6c8832dbe..591f799ca0 100644
--- a/src/user/notifications.js
+++ b/src/user/notifications.js
@@ -262,6 +262,7 @@ var async = require('async'),
bodyLong: results.postContent,
path: nconf.get('relative_path') + '/topic/' + results.topic.slug + '/' + results.postIndex,
uniqueId: 'topic:' + tid + ':uid:' + uid,
+ tid: tid,
from: uid
}, function(err, nid) {
if (err) {