diff --git a/src/socket.io/modules.js b/src/socket.io/modules.js index cf27156e76..be71fb3c2b 100644 --- a/src/socket.io/modules.js +++ b/src/socket.io/modules.js @@ -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 + ');',