mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
fixed #1904
This commit is contained in:
@@ -229,7 +229,7 @@ function sendChatNotification(fromuid, touid, messageObj) {
|
||||
bodyShort: '[[notifications:new_message_from, ' + messageObj.fromUser.username + ']]',
|
||||
bodyLong: messageObj.content,
|
||||
path: nconf.get('relative_path') + '/chats/' + utils.slugify(messageObj.fromUser.username),
|
||||
uniqueId: 'notification_' + fromuid + '_' + touid,
|
||||
uniqueId: 'chat_' + fromuid + '_' + touid,
|
||||
from: fromuid
|
||||
}, function(nid) {
|
||||
notifications.push(nid, [touid]);
|
||||
|
||||
Reference in New Issue
Block a user