This commit is contained in:
Julian Lam
2014-07-25 16:46:04 -04:00
parent 086ebb7e5a
commit 91ce3634fc
3 changed files with 36 additions and 9 deletions

View File

@@ -229,7 +229,7 @@ function sendChatNotification(fromuid, touid, messageObj) {
bodyShort: '[[notifications:new_message_from, ' + messageObj.fromUser.username + ']]',
bodyLong: messageObj.content,
path: nconf.get('relative_path') + '/chats/' + utils.slugify(messageObj.fromUser.username),
uniqueId: 'notification_' + fromuid + '_' + touid,
uniqueId: 'chat_' + fromuid + '_' + touid,
from: fromuid
}, function(nid) {
notifications.push(nid, [touid]);