X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=index.js;h=6f2a62597395c90c1a2e48884edaf3b65a5ec028;hb=c2104f4577e84ffbabade57a63b77035efd78e1c;hp=7bd8a10d3f7663a7ac8cc26e031a80a04d3c76d2;hpb=9d2bc6a7958c0f794bc700638e9513e25b08a039;p=zombocom-ai diff --git a/index.js b/index.js index 7bd8a10..6f2a625 100644 --- a/index.js +++ b/index.js @@ -136,7 +136,8 @@ io.on('connection', (socket) => { const images = JSON.parse(data); images.forEach((image) => { image.id = state.images.length; - image.comments = []; + image.censored = false; + image.comments = []; io.emit('image', image); state.images.push(image); });