mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
small fix
This commit is contained in:
@@ -290,7 +290,7 @@ Sockets.getUsersInRoom = function (uid, roomName, start, stop, callback) {
|
||||
callback(null, {
|
||||
users: users,
|
||||
room: roomName,
|
||||
total: total,
|
||||
total: users.length ? total : 0,
|
||||
hidden: Math.max(0, total - uids.length)
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user