Hopefully fixes a communicaton problem with Hubzilla

This commit is contained in:
Michael 2019-02-01 14:26:45 +00:00
parent 811bafa246
commit 35e3700c8a

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