]> git.mxchange.org Git - friendica.git/commitdiff
Hopefully fixes a communicaton problem with Hubzilla
authorMichael <heluecht@pirati.ca>
Fri, 1 Feb 2019 14:26:45 +0000 (14:26 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 1 Feb 2019 14:26:45 +0000 (14:26 +0000)
src/Network/Probe.php

index 1a0607bf1223877dbbdfc0d5a07b047ed29a0a51..deec3cf2dcb22f3bb0d51b6ee7a08c9492bf1caa 100644 (file)
@@ -342,7 +342,7 @@ class Probe
 
                $ap_profile = ActivityPub::probeProfile($uri);
 
-               if (!empty($ap_profile) && (defaults($data, 'network', '') != Protocol::DFRN)) {
+               if (!empty($ap_profile) && empty($network) && (defaults($data, 'network', '') != Protocol::DFRN)) {
                        $data = $ap_profile;
                }