mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
chat notification redirect wont be null
This commit is contained in:
@@ -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) {
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user