mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
auto update user counts dont transmit all room data
This commit is contained in:
@@ -85,7 +85,7 @@ SocketMeta.rooms.getAll = function(socket, data, callback) {
|
||||
var userData = {
|
||||
onlineGuestCount: websockets.getOnlineAnonCount(),
|
||||
onlineRegisteredCount: websockets.getConnectedClients().length,
|
||||
rooms: websockets.server.sockets.manager.rooms
|
||||
socketCount: websockets.getSocketCount()
|
||||
};
|
||||
|
||||
callback(null, userData);
|
||||
|
||||
Reference in New Issue
Block a user