mirror of
https://github.com/friendica/friendica
synced 2025-04-26 04:30:11 +00:00
Table "apcontact" is now in use / added functionality to handle JSON-LD
This commit is contained in:
parent
5de4afecf1
commit
f20bed67a9
2 changed files with 128 additions and 52 deletions
|
@ -336,7 +336,7 @@ class Probe
|
|||
}
|
||||
|
||||
if (in_array(defaults($data, 'network', ''), ['', Protocol::PHANTOM])) {
|
||||
$ap_profile = ActivityPub::fetchProfile($uri);
|
||||
$ap_profile = ActivityPub::probeProfile($uri);
|
||||
if (!empty($ap_profile) && ($ap_profile['network'] == Protocol::ACTIVITYPUB)) {
|
||||
$data = $ap_profile;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue