Table "apcontact" is now in use / added functionality to handle JSON-LD
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user