diff --git a/cyberwow/lib/controller/rpc/rpc.dart b/cyberwow/lib/controller/rpc/rpc.dart index 5233325..a4b3592 100644 --- a/cyberwow/lib/controller/rpc/rpc.dart +++ b/cyberwow/lib/controller/rpc/rpc.dart @@ -116,7 +116,10 @@ Future incomingConnectionsCount() => Future> getConnectionsSimple() async { final _connections = await rpc('get_connections', field: 'connections').then(asList); - return _connections.map + const minActiveTime = 8; + final _activeConnections = _connections.where((x) => x['live_time'] > minActiveTime); + + return _activeConnections.map ( (x) { const _remove =