Node.js based forum software built for the modern web
fix chat message subject
Baris Usakli48cff9bfcb4e
diff --git a/src/messaging/notifications.js b/src/messaging/notifications.jsindex f0220f2929..6e5d6a2ce8 100644--- a/src/messaging/notifications.js+++ b/src/messaging/notifications.js@@ -76,7 +76,7 @@ module.exports = function (Messaging) {notifications.create({type: 'new-chat',- subject: '[[notifications:new_message_from, ' + messageObj.fromUser.username + ']]',+ subject: '[[email:notif.chat.subject, ' + messageObj.fromUser.username + ']]',bodyShort: '[[notifications:new_message_from, ' + messageObj.fromUser.username + ']]',bodyLong: messageObj.content,nid: 'chat_' + fromuid + '_' + roomId,