This commit is contained in:
barisusakli
2017-03-14 23:03:03 +03:00
parent 25518bdd18
commit 5a2ff8ed0a
12 changed files with 252 additions and 179 deletions

View File

@@ -106,6 +106,7 @@ SocketHelpers.sendNotificationToPostOwner = function (pid, fromuid, command, not
var titleEscaped = title.replace(/%/g, '%').replace(/,/g, ',');
notifications.create({
type: command,
bodyShort: '[[' + notification + ', ' + results.username + ', ' + titleEscaped + ']]',
bodyLong: results.postObj.content,
pid: pid,