Skip to content

Node.js based forum software built for the modern web

chat notification redirect wont be null

Baris Usaklib1e369f1fc98
diff --git a/src/websockets.js b/src/websockets.js
index 5aae09ba1e..eb2789fc74 100644
--- a/src/websockets.js
+++ b/src/websockets.js
@@ -286,7 +286,7 @@ var SocketIO = require('socket.io').listen(global.server, { log:false }),
userSockets[touid][x].emit('chatMessage', {fromuid:uid, username:username, message:finalMessage});
}
- notifications.create(finalMessage, 5, '', 'notification_'+Date.now(), function(nid) {
+ notifications.create(finalMessage, 5, '#', 'notification_'+Date.now(), function(nid) {
notifications.push(nid, [touid], function(success) {
});