This commit is contained in:
Julian Lam
2013-08-27 13:04:18 -04:00
parent abce5fd120
commit 860a83ba90
3 changed files with 3 additions and 3 deletions

View File

@@ -527,7 +527,7 @@ var SocketIO = require('socket.io').listen(global.server, { log:false }),
user.getUserField(uid, 'username', function(err, username) {
var finalMessage = username + ' : ' + msg;
var finalMessage = 'New message from <strong>' + username + '</strong>';
notifications.create(finalMessage, 5, '#', 'notification_' + uid + '_' + touid, function(nid) {
notifications.push(nid, [touid], function(success) {