@ -76,6 +76,7 @@ module.exports = function (Messaging) {
notifications.create({
type: 'new-chat',
subject: '[[notifications:new_message_from, ' + messageObj.fromUser.username + ']]',
bodyShort: '[[notifications:new_message_from, ' + messageObj.fromUser.username + ']]',
bodyLong: messageObj.content,
nid: 'chat_' + fromuid + '_' + roomId,
@ -220,7 +220,7 @@ module.exports = function (Topics) {
type: 'new-reply',
subject: '[' + (meta.config.title || 'NodeBB') + '] ' + title,
subject: title,
bodyShort: '[[notifications:user_posted_to, ' + postData.user.username + ', ' + titleEscaped + ']]',
bodyLong: postData.content,
pid: postData.pid,