From 43bbc00be8edd5d86ec30bf672d90fcbca135530 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Fri, 9 May 2014 11:50:49 -0400 Subject: [PATCH] closes #1512 spaces are required --- src/socket.io/modules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 + ');',