fix chat message subject

v1.18.x
Baris Usakli 7 years ago
parent ecf6c0f3ec
commit 48cff9bfcb

@ -76,7 +76,7 @@ module.exports = function (Messaging) {
notifications.create({ notifications.create({
type: 'new-chat', 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 + ']]', bodyShort: '[[notifications:new_message_from, ' + messageObj.fromUser.username + ']]',
bodyLong: messageObj.content, bodyLong: messageObj.content,
nid: 'chat_' + fromuid + '_' + roomId, nid: 'chat_' + fromuid + '_' + roomId,

Loading…
Cancel
Save