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
commit 51e669616a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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