Fix JSON API endpoint to include all official communities again

dev
mdPlusPlus 2 years ago
parent 8936ec35fb
commit 1ba79becdf

@ -255,7 +255,7 @@
*/
function query_single_servers_for_rooms($server_url, &$failed_arr = null) {
$result = array();
$endpoint = "/rooms";
$endpoint = "/rooms?all=1";
$json_url = $server_url . $endpoint;
// $json = file_get_contents($json_url);
$json = curl_get_contents($json_url); // circumvents flaky routing

Loading…
Cancel
Save