mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 17:46:16 +01:00
@@ -194,7 +194,7 @@ SocketModules.chats.send = function(socket, data, callback) {
|
||||
|
||||
function sendChatNotification(fromuid, touid, username) {
|
||||
if (!module.parent.exports.isUserOnline(touid)) {
|
||||
var notifText = '[[notifications:new_message_from,' + username + ']]';
|
||||
var notifText = '[[notifications:new_message_from, ' + username + ']]';
|
||||
notifications.create({
|
||||
text: notifText,
|
||||
path: 'javascript:app.openChat('' + username + '', ' + fromuid + ');',
|
||||
|
||||
Reference in New Issue
Block a user