Fixed a bug in “Threads” status detection code
This commit is contained in:
parent
eb831bb177
commit
7e6048f939
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ if ($idata['IsMastodon'] && $idata['Version']>='4.0.0') {
|
|||
if (preg_match('#^(threads.net|.*\.threads.net)$#i',$block['domain'])===1) {
|
||||
if ($block['severity']=='suspend')
|
||||
$idata['Threads']='suspended';
|
||||
elseif ($rrow['Severity']=='silence')
|
||||
elseif ($block['severity']=='silence')
|
||||
$idata['Threads']='limited';
|
||||
else
|
||||
$idata['Threads']=$block['severity'];
|
||||
|
|
Loading…
Reference in a new issue