mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +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) {
|
SocketMeta.rooms.getAll = function(socket, data, callback) {
|
||||||
|
var now = Date.now();
|
||||||
db.sortedSetCount('users:online', now - 300000, now, function(err, onlineRegisteredCount) {
|
db.sortedSetCount('users:online', now - 300000, now, function(err, onlineRegisteredCount) {
|
||||||
if (err) {
|
if (err) {
|
||||||
return callback(err);
|
return callback(err);
|
||||||
|
|||||||
Reference in New Issue
Block a user