mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added voted to skip to chat
This commit is contained in:
@@ -492,6 +492,7 @@ function vote(coll, id, guid, socket)
|
||||
db.collection(coll).update({id:id}, {$push :{guids: guid}}, function(err, docs)
|
||||
{
|
||||
socket.emit("toast", "voted");
|
||||
socket.broadcast.emit('chat,'+coll, rndName(guid) + " voted to skip");
|
||||
sort_list(coll, undefined, false, true);
|
||||
});
|
||||
//sort_list(coll, undefined, false);
|
||||
|
||||
Reference in New Issue
Block a user