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
1 changed files with 1 additions and 1 deletions

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