https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
84f80b6
)
Fix: Friendica contacts had falsely been detected as ActivityPub
author
Michael
<heluecht@pirati.ca>
Sun, 20 Oct 2019 06:04:47 +0000
(06:04 +0000)
committer
Michael
<heluecht@pirati.ca>
Sun, 20 Oct 2019 06:04:47 +0000
(06:04 +0000)
src/Network/Probe.php
patch
|
blob
|
history
diff --git
a/src/Network/Probe.php
b/src/Network/Probe.php
index
d6ea766
..
946a822
100644
(file)
--- a/
src/Network/Probe.php
+++ b/
src/Network/Probe.php
@@
-348,7
+348,7
@@
class Probe
if (!self::$istimeout) {
$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;
} elseif (!empty($ap_profile)) {
$ap_profile['batch'] = '';