spaces are required
v1.18.x
barisusakli 11 years ago
parent f876ba91b8
commit 43bbc00be8

@ -194,7 +194,7 @@ SocketModules.chats.send = function(socket, data, callback) {
function sendChatNotification(fromuid, touid, username) { function sendChatNotification(fromuid, touid, username) {
if (!module.parent.exports.isUserOnline(touid)) { if (!module.parent.exports.isUserOnline(touid)) {
var notifText = '[[notifications:new_message_from,' + username + ']]'; var notifText = '[[notifications:new_message_from, ' + username + ']]';
notifications.create({ notifications.create({
text: notifText, text: notifText,
path: 'javascript:app.openChat('' + username + '', ' + fromuid + ');', path: 'javascript:app.openChat('' + username + '', ' + fromuid + ');',

Loading…
Cancel
Save