add tid to vote notifs

This commit is contained in:
Barış Soner Uşaklı
2018-02-14 13:40:12 -05:00
parent fa0328fe35
commit dcc896ee05

View File

@@ -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,