mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
missing now :(
This commit is contained in:
@@ -87,6 +87,7 @@ SocketMeta.rooms.enter = function(socket, data, callback) {
|
||||
};
|
||||
|
||||
SocketMeta.rooms.getAll = function(socket, data, callback) {
|
||||
var now = Date.now();
|
||||
db.sortedSetCount('users:online', now - 300000, now, function(err, onlineRegisteredCount) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
|
||||
Reference in New Issue
Block a user