mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 00:45:47 +01:00
feat: on online users page override timeago cutoff to 24 hours
This commit is contained in:
@@ -61,6 +61,7 @@ usersController.getOnlineUsers = async function (req, res) {
|
||||
}
|
||||
|
||||
userData.anonymousUserCount = guests + hiddenCount;
|
||||
userData.timeagoCutoff = 1000 * 60 * 60 * 24;
|
||||
|
||||
await render(req, res, userData);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user