From: Michael Date: Tue, 10 Sep 2019 20:20:34 +0000 (+0000) Subject: Detect the hide status when it hadn't been detected before X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a733a00ea9c5c5be90010c0b2b1d8cb158b55bd2;p=friendica.git Detect the hide status when it hadn't been detected before --- diff --git a/src/Network/Probe.php b/src/Network/Probe.php index ee8c686676..1b1d0cee32 100644 --- a/src/Network/Probe.php +++ b/src/Network/Probe.php @@ -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']); }