mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added so channel of sender is on title of sender
This commit is contained in:
@@ -46,7 +46,7 @@ io.on('connection', function(socket){
|
||||
{
|
||||
check_inlist(coll, guid, socket);
|
||||
if(data != "" && data !== undefined && data !== null && data.length < 151 && data.replace(/\s/g, '').length)
|
||||
io.sockets.emit('chat.all', rndName(guid) + ": " + data);
|
||||
io.sockets.emit('chat.all', [rndName(guid) + ": " + data, coll]);
|
||||
});
|
||||
|
||||
socket.on('frontpage_lists', function()
|
||||
|
||||
Reference in New Issue
Block a user