Merge pull request #6572 from annando/hubzilla-ap

Hopefully fixes a communicaton problem with Hubzilla
This commit is contained in:
Hypolite Petovan
2019-02-01 10:22:24 -05:00
committed by GitHub

View 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;
}