mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-27 09:49:52 +01:00
fix chat message subject
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user