mirror of
https://github.com/friendica/friendica
synced 2024-11-10 11:02:53 +00:00
Merge pull request #7758 from annando/fix-probe
Fix: Friendica contacts had falsely been detected as ActivityPub
This commit is contained in:
commit
49c05036ae
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ class Probe
|
||||||
if (!self::$istimeout) {
|
if (!self::$istimeout) {
|
||||||
$ap_profile = ActivityPub::probeProfile($uri);
|
$ap_profile = ActivityPub::probeProfile($uri);
|
||||||
|
|
||||||
if (empty($data) || (!empty($ap_profile) && empty($network) && (($data['network'] ?? '') == Protocol::DFRN))) {
|
if (empty($data) || (!empty($ap_profile) && empty($network) && (($data['network'] ?? '') != Protocol::DFRN))) {
|
||||||
$data = $ap_profile;
|
$data = $ap_profile;
|
||||||
} elseif (!empty($ap_profile)) {
|
} elseif (!empty($ap_profile)) {
|
||||||
$ap_profile['batch'] = '';
|
$ap_profile['batch'] = '';
|
||||||
|
|
Loading…
Reference in a new issue