Detect the hide status when it hadn't been detected before

This commit is contained in:
Michael 2019-09-10 20:20:34 +00:00
parent 3c7fe5fc1b
commit a733a00ea9
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ class Probe
$data['network'] = Protocol::PHANTOM;
}
if (empty($data['hide']) && ($data['network'] != Protocol::DFRN)) {
if (!isset($data['hide']) && in_array($data['network'], Protocol::FEDERATED)) {
$data['hide'] = self::getHideStatus($data['url']);
}