]> git.mxchange.org Git - friendica.git/commitdiff
Let "subscribe" be filled at every time to avoid a notice
authorMichael <heluecht@pirati.ca>
Tue, 2 Jun 2020 19:11:37 +0000 (19:11 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 2 Jun 2020 19:11:37 +0000 (19:11 +0000)
src/Network/Probe.php

index 0a67b246130e5741b173e5d24d226ea419369bdd..cef8ec64b28005ffd9e20e72c5c154a1d57c5f7f 100644 (file)
@@ -389,11 +389,7 @@ class Probe
 
                self::$istimeout = false;
 
-               if ($network != Protocol::ACTIVITYPUB) {
-                       $data = self::detect($uri, $network, $uid);
-               } else {
-                       $data = null;
-               }
+               $data = self::detect($uri, $network, $uid);
 
                // When the previous detection process had got a time out
                // we could falsely detect a Friendica profile as AP profile.