Using pid as discriminator for mergeId

... for favourite and upvote notifications.
This commit is contained in:
Julian Lam
2016-04-07 21:22:56 -04:00
parent c89a02bfb9
commit e481ed21eb
2 changed files with 6 additions and 6 deletions

View File

@@ -80,7 +80,7 @@ SocketHelpers.sendNotificationToPostOwner = function(pid, fromuid, notification)
pid: pid,
nid: 'post:' + pid + ':uid:' + fromuid,
from: fromuid,
mergeId: notification + '|' + postData.tid,
mergeId: notification + '|' + pid,
topicTitle: results.topicTitle
}, function(err, notification) {
if (!err && notification) {