This commit is contained in:
Baris Usakli
2013-08-30 14:25:59 -04:00
parent ad5e3ebce3
commit 7cff55a160
3 changed files with 14 additions and 10 deletions

View File

@@ -533,7 +533,7 @@ var SocketIO = require('socket.io').listen(global.server, { log:false }),
notifText = 'New message from <strong>' + username + '</strong>';
if(!isUserOnline(touid)) {
notifications.create(notifText, 5, '#', 'notification_' + uid + '_' + touid, function(nid) {
notifications.create(notifText, 5, 'javascript:app.openChat(&apos;'+username+'&apos;, '+uid+');', 'notification_' + uid + '_' + touid, function(nid) {
notifications.push(nid, [touid], function(success) {
});