mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-02 13:50:36 +01:00
closes #6203
This commit is contained in:
@@ -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) {
|
||||
|
||||
notifications.create({
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user