Table "apcontact" is now in use / added functionality to handle JSON-LD

This commit is contained in:
Michael 2018-09-20 05:00:49 +00:00
parent 5de4afecf1
commit f20bed67a9
2 changed files with 128 additions and 52 deletions

View file

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