Node.js based forum software built for the modern web
fix: dont add spiders to online_guests room
Barış Soner Uşaklıbcd4997d6911
diff --git a/src/socket.io/index.js b/src/socket.io/index.jsindex 58b5c0f1a7..bef29f7e66 100644--- a/src/socket.io/index.js+++ b/src/socket.io/index.js@@ -134,7 +134,7 @@ async function onConnect(socket) {if (socket.uid > 0) {socket.join(`uid_${socket.uid}`);socket.join('online_users');- } else {+ } else if (socket.uid === 0) {socket.join('online_guests');}