diff --git a/web/clitools/getinstinfo.php b/web/clitools/getinstinfo.php index f3a3747..0e4b6ae 100755 --- a/web/clitools/getinstinfo.php +++ b/web/clitools/getinstinfo.php @@ -378,6 +378,7 @@ if ($idata['IsMastodon'] && $idata['Version']>='4.0.0') { if (is_array($buf)) { eecho(1,'«'.$opts['hostname'].'»: got instance domain blocks from API v1 :-)'.N); $idata['blocks']=[]; + $idata['Threads']='accessible'; foreach ($buf as $key=>$block) { if (make(['domain', 'digest', 'severity', 'comment'],$block) && is_string($block['domain']) && !isempty($block['domain']) && is_string($block['digest']) && preg_match('/^[a-f0-9]{64}$/',$block['digest'])===1 && is_string($block['severity']) && in_array($block['severity'], ['silence','suspend']) && (is_null($block['comment']) || is_string($block['comment']))) { if (!is_null($block['comment']) && trim($block['comment'])=='') $block['comment']=null;