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