Skip to content

Node.js based forum software built for the modern web

add tid to vote notifs

Barış Soner Uşaklıdcc896ee0520
diff --git a/src/socket.io/helpers.js b/src/socket.io/helpers.js
index ae4c2b0b5a..4679b73598 100644
--- a/src/socket.io/helpers.js
+++ b/src/socket.io/helpers.js
@@ -113,6 +113,7 @@ SocketHelpers.sendNotificationToPostOwner = function (pid, fromuid, command, not
bodyShort: '[[' + notification + ', ' + results.username + ', ' + titleEscaped + ']]',
bodyLong: results.postObj.content,
pid: pid,
+ tid: postData.tid,
path: '/post/' + pid,
nid: command + ':post:' + pid + ':uid:' + fromuid,
from: fromuid,