]> git.mxchange.org Git - friendica.git/commitdiff
Detect the hide status when it hadn't been detected before
authorMichael <heluecht@pirati.ca>
Tue, 10 Sep 2019 20:20:34 +0000 (20:20 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 10 Sep 2019 20:20:34 +0000 (20:20 +0000)
src/Network/Probe.php

index ee8c686676f70a0854281b089d1ab1de5fe7b44f..1b1d0cee3234aaa6f80c43cda180e7cf272e8593 100644 (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']);
                }