mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 18:46:01 +01:00
fix: dont add spiders to online_guests room
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user